Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_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.004605/0.004605, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.00134/0.00134, allocations: 192.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.221/2.221, allocations: 437.1 MB / 0.7105 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 71.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6091, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008392/0.6175, allocations: 7.418 MB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.7698, allocations: 151.7 MB / 1.322 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.771, allocations: 19.94 kB / 1.322 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009839/0.772, allocations: 305.1 kB / 1.322 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.7745, allocations: 0.7961 MB / 1.323 GB, free: 2.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.7769, allocations: 1.135 MB / 1.324 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.7795, allocations: 2.361 MB / 1.326 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.7809, allocations: 1.152 MB / 1.327 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.7819, allocations: 0.9034 MB / 1.328 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009899/0.7829, allocations: 0.9804 MB / 1.329 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.7832, allocations: 268 kB / 1.329 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.7842, allocations: 0.6402 MB / 1.33 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.7846, allocations: 0.5492 MB / 1.33 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.7855, allocations: 1.065 MB / 1.332 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.7883, allocations: 3.129 MB / 1.335 GB, free: 6.609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7883, allocations: 0 / 1.335 GB, free: 6.609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7884, allocations: 4 kB / 1.335 GB, free: 6.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.7884, allocations: 0 / 1.335 GB, free: 6.605 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003779/0.7922, allocations: 2.287 MB / 1.337 GB, free: 4.262 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.7922, allocations: 16.86 kB / 1.337 GB, free: 4.246 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.7925, allocations: 232.7 kB / 1.337 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.7978, allocations: 0.8775 MB / 1.338 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.7993, allocations: 1.114 MB / 1.339 GB, free: 1.969 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/0.7994, allocations: 123.3 kB / 1.339 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.7997, allocations: 152 kB / 1.339 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/0.8037, allocations: 2.059 MB / 1.341 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.8038, allocations: 0 / 1.341 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.804, allocations: 72 kB / 1.341 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.804, allocations: 43.98 kB / 1.341 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/0.8097, allocations: 2.444 MB / 1.344 GB, free: 13.03 MB / 1.076 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.008365/0.8181, allocations: 5.651 MB / 1.349 GB, free: 7.195 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.8222, allocations: 1.716 MB / 1.351 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.8241, allocations: 0.8051 MB / 1.352 GB, free: 4.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/0.8248, allocations: 495.1 kB / 1.352 GB, free: 4.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.8271, allocations: 1.07 MB / 1.353 GB, free: 3.004 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 2.324e-06/0.8271, allocations: 0 / 1.353 GB, free: 3.004 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.007098/0.8342, allocations: 2.606 MB / 1.356 GB, free: 384 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8343, allocations: 201.2 kB / 1.356 GB, free: 136 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8354, allocations: 0.8864 MB / 1.357 GB, free: 15.22 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.8355, allocations: 57.64 kB / 1.357 GB, free: 15.16 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.836, allocations: 0.6459 MB / 1.358 GB, free: 14.5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.8363, allocations: 471.9 kB / 1.358 GB, free: 14.04 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.8368, allocations: 250.8 kB / 1.358 GB, free: 13.79 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8369, allocations: 357.9 kB / 1.359 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.8388, allocations: 0.6662 MB / 1.359 GB, free: 12.77 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.8407, allocations: 0.8198 MB / 1.36 GB, free: 11.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.8444, allocations: 1.447 MB / 1.361 GB, free: 10.45 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8445, allocations: 0 / 1.361 GB, free: 10.45 MB / 1.092 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004685/0.8491, allocations: 1.793 MB / 1.363 GB, free: 8.648 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.8492, allocations: 4 kB / 1.363 GB, free: 8.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8492, allocations: 4.062 kB / 1.363 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.8497, allocations: 88.7 kB / 1.363 GB, free: 8.551 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.8514, allocations: 335.5 kB / 1.364 GB, free: 8.223 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.8533, allocations: 1.656 MB / 1.365 GB, free: 6.422 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.8547, allocations: 203.3 kB / 1.365 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.8548, allocations: 51.95 kB / 1.365 GB, free: 6.172 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.8554, allocations: 387.8 kB / 1.366 GB, free: 5.785 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.8556, allocations: 135.2 kB / 1.366 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.8612, allocations: 2.21 MB / 1.368 GB, free: 3.426 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.8612, allocations: 19.94 kB / 1.368 GB, free: 3.406 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8612, allocations: 8 kB / 1.368 GB, free: 3.398 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.8613, allocations: 7.969 kB / 1.368 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.8631, allocations: 1.792 MB / 1.37 GB, free: 1.547 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8631, allocations: 3.938 kB / 1.37 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.8647, allocations: 311.5 kB / 1.37 GB, free: 1.238 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.8651, allocations: 76.78 kB / 1.37 GB, free: 1.16 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.8652, allocations: 43.95 kB / 1.37 GB, free: 1.117 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.867, allocations: 1.678 MB / 1.372 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.867, allocations: 3.938 kB / 1.372 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.8718, allocations: 1.922 MB / 1.374 GB, free: 13.35 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.8723, allocations: 439.7 kB / 1.374 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.8725, allocations: 39.88 kB / 1.374 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.8739, allocations: 143.8 kB / 1.374 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.8741, allocations: 121 kB / 1.375 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.8742, allocations: 63.94 kB / 1.375 GB, free: 12.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000771/0.875, allocations: 0.6384 MB / 1.375 GB, free: 11.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.875, allocations: 0 / 1.375 GB, free: 11.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009784/0.876, allocations: 0.5181 MB / 1.376 GB, free: 11.37 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,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 (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006703/0.8827, allocations: 3.008 MB / 1.379 GB, free: 8.496 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004278/0.887, allocations: 1.798 MB / 1.38 GB, free: 6.688 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.887, allocations: 0 / 1.38 GB, free: 6.688 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.8893, allocations: 1.06 MB / 1.381 GB, free: 5.613 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.8906, allocations: 379.5 kB / 1.382 GB, free: 5.266 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.9107, allocations: 11.14 MB / 1.393 GB, free: 9.969 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/0.9115, allocations: 1.263 MB / 1.394 GB, free: 8.676 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001266/0.9128, allocations: 390.3 kB / 1.394 GB, free: 8.289 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.9138, allocations: 0.6632 MB / 1.395 GB, free: 7.625 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/0.9138, allocations: 0 / 1.395 GB, free: 7.625 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.778/3.691, allocations: 34.38 MB / 1.429 GB, free: 5.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.13/22.82, allocations: 11.53 kB / 1.429 GB, free: 5.508 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)