Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 172.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 89.16 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.216e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7856, allocations: 116.3 MB / 0.9732 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.782/5.568, allocations: 2.074 GB / 3.047 GB, free: 11.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/5.568, allocations: 89.8 kB / 3.047 GB, free: 11.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6529/6.221, allocations: 63.68 MB / 3.109 GB, free: 329.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/6.221, allocations: 0 / 3.109 GB, free: 329.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001427/6.221, allocations: 23.06 kB / 3.109 GB, free: 329.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003224/6.224, allocations: 1.086 MB / 3.11 GB, free: 328.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/6.224, allocations: 10.5 kB / 3.11 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/6.226, allocations: 192.8 kB / 3.11 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/6.227, allocations: 0.6361 MB / 3.111 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/6.227, allocations: 29.56 kB / 3.111 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/6.228, allocations: 44.62 kB / 3.111 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/6.229, allocations: 0.9862 MB / 3.112 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/6.231, allocations: 0.7198 MB / 3.113 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/6.231, allocations: 7.938 kB / 3.113 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/6.231, allocations: 1.125 kB / 3.113 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/6.231, allocations: 24.08 kB / 3.113 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/6.236, allocations: 2.302 MB / 3.115 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/6.237, allocations: 0.6698 MB / 3.116 GB, free: 325.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/6.237, allocations: 249.2 kB / 3.116 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/6.237, allocations: 110.5 kB / 3.116 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/6.238, allocations: 404.7 kB / 3.116 GB, free: 324.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/6.238, allocations: 0 / 3.116 GB, free: 324.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001722/6.24, allocations: 0.6784 MB / 3.117 GB, free: 324.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/6.24, allocations: 240.7 kB / 3.117 GB, free: 324.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/6.24, allocations: 0.5424 MB / 3.118 GB, free: 323.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/6.241, allocations: 31.11 kB / 3.118 GB, free: 323.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/6.241, allocations: 397.1 kB / 3.118 GB, free: 323.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/6.241, allocations: 230 kB / 3.119 GB, free: 323.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/6.241, allocations: 1.031 kB / 3.119 GB, free: 323.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/6.241, allocations: 383.4 kB / 3.119 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/6.241, allocations: 195.2 kB / 3.119 GB, free: 322.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/6.242, allocations: 301.7 kB / 3.119 GB, free: 322.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/6.242, allocations: 252.9 kB / 3.12 GB, free: 322.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/6.242, allocations: 1.375 kB / 3.12 GB, free: 322.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001447/6.244, allocations: 0.6747 MB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/6.244, allocations: 6.188 kB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/6.244, allocations: 3.953 kB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/6.244, allocations: 85.98 kB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/6.245, allocations: 145.1 kB / 3.12 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/6.246, allocations: 1.46 MB / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/6.247, allocations: 70.98 kB / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/6.247, allocations: 23.8 kB / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001502/6.247, allocations: 113.7 kB / 3.122 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/6.247, allocations: 78.31 kB / 3.122 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/6.249, allocations: 0.9242 MB / 3.123 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/6.249, allocations: 11.05 kB / 3.123 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/6.249, allocations: 7.984 kB / 3.123 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/6.249, allocations: 3.984 kB / 3.123 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/6.25, allocations: 0.7764 MB / 3.124 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/6.25, allocations: 3.953 kB / 3.124 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/6.251, allocations: 144.7 kB / 3.124 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/6.251, allocations: 87.08 kB / 3.124 GB, free: 319.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/6.251, allocations: 19.36 kB / 3.124 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/6.252, allocations: 1.487 MB / 3.126 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.252, allocations: 3.938 kB / 3.126 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/6.254, allocations: 0.776 MB / 3.126 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/6.254, allocations: 288.1 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/6.254, allocations: 3.125 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/6.255, allocations: 55.69 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/6.255, allocations: 62.09 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/6.255, allocations: 27.08 kB / 3.127 GB, free: 317.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000442/6.255, allocations: 443.7 kB / 3.127 GB, free: 316.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.255, allocations: 0 / 3.127 GB, free: 316.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009443/6.256, allocations: 315.2 kB / 3.127 GB, free: 316.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001744/6.258, allocations: 1.088 MB / 3.129 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00105/6.259, allocations: 0.6485 MB / 3.129 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/6.259, allocations: 7.625 kB / 3.129 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/6.26, allocations: 452.2 kB / 3.13 GB, free: 315.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/6.261, allocations: 238.8 kB / 3.13 GB, free: 315.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/6.264, allocations: 1.318 MB / 3.131 GB, free: 314.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/6.264, allocations: 1.036 MB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007862/6.265, allocations: 246.5 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/6.265, allocations: 100.6 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of SimCode: time 4e-07/6.265, allocations: 4 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02336/6.289, allocations: 15.76 MB / 3.148 GB, free: 300.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)