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.001104/0.001104, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00139/0.00139, allocations: 172.7 kB / 15.95 MB, free: 208 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.418/1.418, allocations: 223.3 MB / 240 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.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 11.98 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7554, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005392/0.7608, allocations: 4.067 MB / 0.9851 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.9279, allocations: 137.2 MB / 1.119 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.9289, allocations: 15.88 kB / 1.119 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.9298, allocations: 162.8 kB / 1.119 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.932, allocations: 483.5 kB / 1.12 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.9342, allocations: 0.6384 MB / 1.12 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.9359, allocations: 1.172 MB / 1.121 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.9369, allocations: 496 kB / 1.122 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.9376, allocations: 342.4 kB / 1.122 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.9382, allocations: 382 kB / 1.123 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.9384, allocations: 28 kB / 1.123 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009449/0.9393, allocations: 359.6 kB / 1.123 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.9396, allocations: 179.1 kB / 1.123 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.9398, allocations: 205.1 kB / 1.123 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.9414, allocations: 1.235 MB / 1.125 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9414, allocations: 0 / 1.125 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9414, allocations: 0 / 1.125 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.882e-05/0.9414, allocations: 0 / 1.125 GB, free: 2.996 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.002838/0.9443, allocations: 1.294 MB / 1.126 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.9443, allocations: 8.031 kB / 1.126 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.9446, allocations: 135.3 kB / 1.126 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.9455, allocations: 202.3 kB / 1.126 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.9467, allocations: 0.7505 MB / 1.127 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.9468, allocations: 69.94 kB / 1.127 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.9469, allocations: 84 kB / 1.127 GB, free: 372 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.9486, allocations: 0.9456 MB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.9487, allocations: 0 / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.9488, allocations: 40 kB / 1.128 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.9488, allocations: 23.94 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.9506, allocations: 1.136 MB / 1.129 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.9546, allocations: 2.625 MB / 1.132 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.956, allocations: 0.8392 MB / 1.133 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.9566, allocations: 322.6 kB / 1.133 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.9568, allocations: 113.7 kB / 1.133 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009826/0.9578, allocations: 0.5125 MB / 1.133 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.9578, allocations: 0 / 1.133 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003191/0.961, allocations: 1.268 MB / 1.135 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.9611, allocations: 188.6 kB / 1.135 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.962, allocations: 0.6726 MB / 1.135 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.9621, allocations: 41.7 kB / 1.136 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.9625, allocations: 428.3 kB / 1.136 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.9627, allocations: 264.2 kB / 1.136 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.9628, allocations: 12 kB / 1.136 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9629, allocations: 341.9 kB / 1.137 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.9635, allocations: 261.9 kB / 1.137 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.9641, allocations: 378.5 kB / 1.137 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.9647, allocations: 306.9 kB / 1.137 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9647, allocations: 4 kB / 1.137 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001803/0.9665, allocations: 0.8448 MB / 1.138 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.9665, allocations: 4 kB / 1.138 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9665, allocations: 3.938 kB / 1.138 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.9671, allocations: 84.88 kB / 1.138 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.9677, allocations: 159.8 kB / 1.139 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.9697, allocations: 1.532 MB / 1.14 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.9704, allocations: 107.3 kB / 1.14 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.9704, allocations: 31.97 kB / 1.14 GB, free: 2.504 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.0004404/0.9709, allocations: 267.2 kB / 1.14 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.971, allocations: 90.92 kB / 1.14 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.9733, allocations: 1.125 MB / 1.142 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.9734, allocations: 8 kB / 1.142 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.9734, allocations: 0 / 1.142 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.9734, allocations: 7.984 kB / 1.142 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.9745, allocations: 0.9541 MB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9746, allocations: 7.875 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.9752, allocations: 163.7 kB / 1.143 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.9756, allocations: 84.77 kB / 1.143 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.9757, allocations: 23.98 kB / 1.143 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.9774, allocations: 1.552 MB / 1.144 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.9775, allocations: 3.984 kB / 1.144 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.9794, allocations: 0.9785 MB / 1.145 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.9798, allocations: 299.5 kB / 1.146 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9799, allocations: 23.98 kB / 1.146 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.9806, allocations: 89.2 kB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.9807, allocations: 72.89 kB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.9808, allocations: 39.97 kB / 1.146 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006833/0.9815, allocations: 487 kB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9815, allocations: 0 / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009574/0.9825, allocations: 311.2 kB / 1.147 GB, free: 11.7 MB / 0.9044 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.003577/0.9861, allocations: 2.02 MB / 1.148 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.9878, allocations: 0.8392 MB / 1.149 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9878, allocations: 0 / 1.149 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.9887, allocations: 0.5392 MB / 1.15 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.9899, allocations: 283.1 kB / 1.15 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.001, allocations: 5.486 MB / 1.155 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/1.002, allocations: 1.045 MB / 1.156 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009076/1.002, allocations: 262.7 kB / 1.157 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/1.003, allocations: 403.3 kB / 1.157 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of SimCode: time 6.62e-07/1.003, allocations: 0 / 1.157 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/1.045, allocations: 22.33 MB / 1.179 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.045, allocations: 293.2 kB / 1.179 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.495, allocations: 4.062 kB / 1.179 GB, free: 10.54 MB / 0.9356 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