Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008641, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.508/2.508, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 11.94 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7184, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06642/0.7849, allocations: 69.45 MB / 1.049 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.804, allocations: 14.18 MB / 1.063 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.8062, allocations: 55.62 kB / 1.063 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.8082, allocations: 0.5627 MB / 1.063 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.8143, allocations: 1.989 MB / 1.065 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.8172, allocations: 0.9632 MB / 1.066 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005907/0.8232, allocations: 4.809 MB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.8249, allocations: 1.025 MB / 1.072 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.8274, allocations: 1.279 MB / 1.073 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.8291, allocations: 1.081 MB / 1.074 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.8292, allocations: 60 kB / 1.074 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.8315, allocations: 0.9199 MB / 1.075 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.8318, allocations: 270.7 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.8323, allocations: 356.9 kB / 1.076 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.8345, allocations: 2.081 MB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8345, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8345, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.8345, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003264/0.8378, allocations: 1.803 MB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8378, allocations: 8.031 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.838, allocations: 151.9 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.8388, allocations: 237.9 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.841, allocations: 1.447 MB / 1.081 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.8411, allocations: 74 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.8412, allocations: 104 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.8432, allocations: 1.112 MB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.8432, allocations: 7.906 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.8433, allocations: 40 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.8434, allocations: 27.94 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.8452, allocations: 0.9213 MB / 1.084 GB, free: 12.82 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.8507, allocations: 4.915 MB / 1.088 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.852, allocations: 0.6392 MB / 1.089 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/0.8527, allocations: 370.3 kB / 1.089 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.8533, allocations: 0.8238 MB / 1.09 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.8534, allocations: 39.12 kB / 1.09 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.094e-06/0.8534, allocations: 4 kB / 1.09 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.006449/0.8599, allocations: 1.892 MB / 1.092 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.8599, allocations: 55.97 kB / 1.092 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.8614, allocations: 1.195 MB / 1.093 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.8615, allocations: 49.7 kB / 1.093 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.862, allocations: 0.5987 MB / 1.094 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.8622, allocations: 216.9 kB / 1.094 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.8622, allocations: 12 kB / 1.094 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8624, allocations: 337.9 kB / 1.095 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.863, allocations: 293.8 kB / 1.095 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/0.8638, allocations: 0.5046 MB / 1.095 GB, free: 268 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.8645, allocations: 359 kB / 1.096 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8645, allocations: 0 / 1.096 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004157/0.8687, allocations: 1.398 MB / 1.097 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.8688, allocations: 195.2 kB / 1.097 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8688, allocations: 8 kB / 1.097 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.8694, allocations: 144.7 kB / 1.097 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.87, allocations: 167.8 kB / 1.097 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007864/0.8708, allocations: 0.72 MB / 1.098 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.8718, allocations: 168.4 kB / 1.098 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.8718, allocations: 35.98 kB / 1.098 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.8718, allocations: 4 kB / 1.098 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003932/0.8758, allocations: 1.25 MB / 1.1 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8758, allocations: 8.062 kB / 1.1 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.8763, allocations: 144.7 kB / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.8769, allocations: 163.8 kB / 1.1 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.8776, allocations: 0.724 MB / 1.101 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.8786, allocations: 163.2 kB / 1.101 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.8787, allocations: 31.98 kB / 1.101 GB, free: 10.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006097/0.8793, allocations: 427.3 kB / 1.101 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.8796, allocations: 130.4 kB / 1.101 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.8838, allocations: 1.389 MB / 1.103 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.8839, allocations: 15.94 kB / 1.103 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8839, allocations: 0 / 1.103 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003705/0.8876, allocations: 1.232 MB / 1.104 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.8939, allocations: 2.727 MB / 1.107 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.894, allocations: 8.031 kB / 1.107 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.8945, allocations: 119.8 kB / 1.107 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.8949, allocations: 140.7 kB / 1.107 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.895, allocations: 20 kB / 1.107 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.8996, allocations: 2.486 MB / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.8996, allocations: 4 kB / 1.109 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.9045, allocations: 1.848 MB / 1.111 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/0.9052, allocations: 331 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.9055, allocations: 23.95 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/0.9064, allocations: 99.81 kB / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9066, allocations: 60.3 kB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.9066, allocations: 27.98 kB / 1.112 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001268/0.9079, allocations: 0.8584 MB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9079, allocations: 0 / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001933/0.9098, allocations: 0.7173 MB / 1.113 GB, free: 13.44 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005661/0.9155, allocations: 2.697 MB / 1.116 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.918, allocations: 1.16 MB / 1.117 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.918, allocations: 7.938 kB / 1.117 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9194, allocations: 0.5995 MB / 1.118 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/0.9231, allocations: 0.7558 MB / 1.118 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.9424, allocations: 8.355 MB / 1.126 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/0.9433, allocations: 1.171 MB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001429/0.9447, allocations: 311 kB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/0.9455, allocations: 0.5071 MB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/0.9455, allocations: 0 / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06882/1.014, allocations: 42.08 MB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.015, allocations: 248.2 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.814, allocations: 4 kB / 1.17 GB, free: 3.484 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat