Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002023/0.002023, allocations: 193 kB / 16.14 MB, free: 6.688 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 61.5 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3336, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009319/0.343, allocations: 7.343 MB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.5128, allocations: 149.5 MB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.5147, allocations: 19.88 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.5164, allocations: 357.8 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.5188, allocations: 0.6364 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.5211, allocations: 1.003 MB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.524, allocations: 2.283 MB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.5254, allocations: 1.114 MB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.5264, allocations: 0.7548 MB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000949/0.5274, allocations: 0.8867 MB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5276, allocations: 116 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5287, allocations: 487.5 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.529, allocations: 434.3 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008681/0.5299, allocations: 0.9326 MB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.5326, allocations: 2.979 MB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5326, allocations: 0 / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5326, allocations: 0 / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.5327, allocations: 0 / 1.232 GB, free: 1.492 MB / 0.9825 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.004766/0.5374, allocations: 2.274 MB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5375, allocations: 8.031 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006311/0.5438, allocations: 0.8647 MB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.5457, allocations: 1.106 MB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.5458, allocations: 119.3 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.546, allocations: 164 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.5507, allocations: 2.047 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.5508, allocations: 3.938 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.551, allocations: 75.94 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.551, allocations: 43.98 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006059/0.5571, allocations: 2.44 MB / 1.241 GB, free: 8.191 MB / 0.9981 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.0104/0.5675, allocations: 5.707 MB / 1.247 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.572, allocations: 1.721 MB / 1.249 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6481/1.22, allocations: 0.7931 MB / 1.249 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/1.221, allocations: 491.8 kB / 1.25 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003139/1.224, allocations: 1.067 MB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.477e-06/1.224, allocations: 0.9062 kB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.008231/1.232, allocations: 2.602 MB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/1.232, allocations: 199.7 kB / 1.254 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.234, allocations: 0.9362 MB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.234, allocations: 59.27 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005546/1.235, allocations: 0.6411 MB / 1.255 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/1.235, allocations: 455.8 kB / 1.256 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/1.235, allocations: 267.1 kB / 1.256 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.236, allocations: 361.1 kB / 1.256 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.238, allocations: 0.69 MB / 1.257 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/1.239, allocations: 0.8313 MB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.243, allocations: 1.459 MB / 1.259 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.243, allocations: 0 / 1.259 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004898/1.248, allocations: 1.838 MB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.248, allocations: 6.812 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.248, allocations: 2.625 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/1.249, allocations: 88.66 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.251, allocations: 339.6 kB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/1.253, allocations: 1.551 MB / 1.263 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.254, allocations: 210 kB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.255, allocations: 60.59 kB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (161): * Single equations (assignments): 160 * 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.0008357/1.255, allocations: 406.9 kB / 1.263 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.256, allocations: 138 kB / 1.264 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/1.262, allocations: 2.216 MB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.262, allocations: 16.28 kB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.262, allocations: 3.094 kB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/1.262, allocations: 7.453 kB / 1.266 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1.265, allocations: 1.795 MB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.265, allocations: 0 / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.267, allocations: 314.3 kB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/1.268, allocations: 87.5 kB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.268, allocations: 46.73 kB / 1.268 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.269, allocations: 1.56 MB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.269, allocations: 0.75 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005532/1.275, allocations: 1.923 MB / 1.271 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/1.276, allocations: 439.5 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/1.276, allocations: 31.05 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/1.278, allocations: 157.9 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/1.278, allocations: 110.5 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.278, allocations: 62.38 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001409/1.28, allocations: 0.6786 MB / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.28, allocations: 0 / 1.273 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001873/1.282, allocations: 0.5201 MB / 1.273 GB, free: 172.2 MB / 0.9981 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.001622/1.283, allocations: 0.6469 MB / 1.274 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005644/1.289, allocations: 1.825 MB / 1.276 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.289, allocations: 0 / 1.276 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.292, allocations: 1.057 MB / 1.277 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.294, allocations: 371.2 kB / 1.277 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/1.301, allocations: 3.804 MB / 1.281 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/1.302, allocations: 1.281 MB / 1.282 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002211/1.304, allocations: 392.8 kB / 1.282 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/1.305, allocations: 170.5 kB / 1.283 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.305, allocations: 0 / 1.283 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0407/1.346, allocations: 23.97 MB / 1.306 GB, free: 155.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)