Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.001527/0.001535, allocations: 100 kB / 15.05 MB, free: 1.105 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.001623/0.001623, allocations: 177.3 kB / 15.95 MB, free: 216 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.295/1.295, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.39/2.39, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7855, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005008/0.7906, allocations: 3.958 MB / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.9317, allocations: 127.9 MB / 1.11 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000859/0.9326, allocations: 15.94 kB / 1.11 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.9332, allocations: 103.2 kB / 1.11 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.935, allocations: 0.5558 MB / 1.11 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.9369, allocations: 0.6437 MB / 1.111 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.9383, allocations: 0.8494 MB / 1.112 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.9391, allocations: 495.9 kB / 1.112 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.9396, allocations: 346.5 kB / 1.113 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.94, allocations: 358.1 kB / 1.113 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.9401, allocations: 28 kB / 1.113 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007776/0.9409, allocations: 331.5 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.9411, allocations: 187.2 kB / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.9413, allocations: 201.1 kB / 1.114 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.9425, allocations: 1.239 MB / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9426, allocations: 0 / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9426, allocations: 0 / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.9426, allocations: 0 / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002423/0.945, allocations: 1.276 MB / 1.116 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9451, allocations: 12.03 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.9453, allocations: 135.3 kB / 1.116 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.9462, allocations: 214.2 kB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9474, allocations: 0.7389 MB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.9474, allocations: 73.95 kB / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.9475, allocations: 87.98 kB / 1.117 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.9492, allocations: 0.9378 MB / 1.118 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.9492, allocations: 0 / 1.118 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.9493, allocations: 36 kB / 1.118 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.9493, allocations: 20 kB / 1.118 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.9511, allocations: 1.136 MB / 1.119 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.9553, allocations: 2.632 MB / 1.122 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.9568, allocations: 0.8392 MB / 1.123 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.957, allocations: 105.7 kB / 1.123 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000931/0.958, allocations: 0.5125 MB / 1.123 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.958, allocations: 0 / 1.123 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003314/0.9613, allocations: 1.268 MB / 1.125 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.9614, allocations: 196.6 kB / 1.125 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.9623, allocations: 0.6687 MB / 1.125 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.9624, allocations: 41.7 kB / 1.125 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.9628, allocations: 424.3 kB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.963, allocations: 268.2 kB / 1.126 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.963, allocations: 12 kB / 1.126 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9632, allocations: 338 kB / 1.126 GB, free: 496 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.9637, allocations: 261.9 kB / 1.127 GB, free: 232 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.9643, allocations: 374.6 kB / 1.127 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.965, allocations: 314.9 kB / 1.127 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.965, allocations: 0 / 1.127 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001957/0.9669, allocations: 0.8447 MB / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.967, allocations: 11.94 kB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.967, allocations: 3.984 kB / 1.128 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.9676, allocations: 84.86 kB / 1.128 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.9683, allocations: 159.8 kB / 1.128 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.9704, allocations: 1.543 MB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.9713, allocations: 103.4 kB / 1.13 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.9714, allocations: 31.97 kB / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005176/0.9719, allocations: 274.9 kB / 1.13 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.972, allocations: 98.83 kB / 1.13 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.9745, allocations: 1.121 MB / 1.132 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.9745, allocations: 15.94 kB / 1.132 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9745, allocations: 0 / 1.132 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.9745, allocations: 3.984 kB / 1.132 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.9757, allocations: 0.9541 MB / 1.132 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9757, allocations: 0 / 1.132 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.9763, allocations: 155.8 kB / 1.133 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.9768, allocations: 84.78 kB / 1.133 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.9769, allocations: 27.97 kB / 1.133 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9788, allocations: 1.568 MB / 1.134 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9788, allocations: 3.984 kB / 1.134 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.9808, allocations: 0.9746 MB / 1.135 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.9813, allocations: 295.5 kB / 1.136 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.9814, allocations: 27.98 kB / 1.136 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.9821, allocations: 82.89 kB / 1.136 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.9822, allocations: 72.84 kB / 1.136 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.9823, allocations: 43.97 kB / 1.136 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006472/0.983, allocations: 487 kB / 1.136 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.983, allocations: 0 / 1.136 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008954/0.9839, allocations: 319.1 kB / 1.136 GB, free: 5.773 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003519/0.9874, allocations: 2.025 MB / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.9891, allocations: 0.8315 MB / 1.139 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9892, allocations: 0 / 1.139 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009449/0.9901, allocations: 0.5431 MB / 1.14 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.9914, allocations: 255.6 kB / 1.14 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.003, allocations: 5.888 MB / 1.146 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/1.003, allocations: 1.061 MB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001059/1.004, allocations: 274.6 kB / 1.147 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/1.005, allocations: 403.3 kB / 1.147 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of SimCode: time 1.082e-06/1.005, allocations: 4 kB / 1.147 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/1.048, allocations: 22.3 MB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.048, allocations: 284.9 kB / 1.17 GB, free: 4.238 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.474, allocations: 7.125 kB / 1.17 GB, free: 4.234 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat