Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.761/1.761, allocations: 297.8 MB / 313.8 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 191.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.95 kB / 0.7808 GB, free: 43.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 15.94 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8413, allocations: 120.3 MB / 1.026 GB, free: 57.27 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/5.352, allocations: 1.725 GB / 2.751 GB, free: 63.09 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/5.352, allocations: 107 kB / 2.751 GB, free: 62.99 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.7819/6.134, allocations: 66.21 MB / 2.816 GB, free: 295.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 5.861e-06/6.134, allocations: 0 / 2.816 GB, free: 295.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001113/6.135, allocations: 21.8 kB / 2.816 GB, free: 295.1 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002872/6.137, allocations: 1.236 MB / 2.817 GB, free: 294.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/6.137, allocations: 9.656 kB / 2.817 GB, free: 294.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/6.139, allocations: 190.4 kB / 2.817 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/6.14, allocations: 0.673 MB / 2.818 GB, free: 294.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/6.14, allocations: 62.75 kB / 2.818 GB, free: 294.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/6.14, allocations: 75.31 kB / 2.818 GB, free: 294.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/6.142, allocations: 0.8856 MB / 2.819 GB, free: 294 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/6.142, allocations: 1.219 kB / 2.819 GB, free: 294 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/6.142, allocations: 39.19 kB / 2.819 GB, free: 294 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/6.142, allocations: 19.03 kB / 2.819 GB, free: 294 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/6.145, allocations: 1.096 MB / 2.82 GB, free: 294 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/6.15, allocations: 2.488 MB / 2.822 GB, free: 293.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/6.151, allocations: 0.7605 MB / 2.823 GB, free: 293.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/6.152, allocations: 300.8 kB / 2.823 GB, free: 293.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/6.152, allocations: 119.4 kB / 2.823 GB, free: 293.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/6.153, allocations: 446.5 kB / 2.824 GB, free: 293 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=73): time 3.907e-06/6.153, allocations: 0 / 2.824 GB, free: 293 MB / 0.9792 GB Notification: Performance of matching and sorting (n=73): time 0.003277/6.156, allocations: 1.155 MB / 2.825 GB, free: 292.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/6.156, allocations: 239.4 kB / 2.825 GB, free: 292.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/6.157, allocations: 0.7062 MB / 2.826 GB, free: 292.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/6.158, allocations: 41.48 kB / 2.826 GB, free: 292.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/6.158, allocations: 396.6 kB / 2.826 GB, free: 292.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/6.158, allocations: 247.5 kB / 2.827 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/6.158, allocations: 12.38 kB / 2.827 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001592/6.158, allocations: 384.3 kB / 2.827 GB, free: 291.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/6.159, allocations: 233.1 kB / 2.827 GB, free: 291.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/6.159, allocations: 350.8 kB / 2.827 GB, free: 291.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/6.16, allocations: 0.5534 MB / 2.828 GB, free: 291.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/6.16, allocations: 2.281 kB / 2.828 GB, free: 291.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001908/6.162, allocations: 0.7593 MB / 2.829 GB, free: 291.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/6.162, allocations: 8.141 kB / 2.829 GB, free: 291.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/6.162, allocations: 1.531 kB / 2.829 GB, free: 291.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/6.163, allocations: 83.67 kB / 2.829 GB, free: 291.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/6.164, allocations: 144 kB / 2.829 GB, free: 291.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/6.165, allocations: 1.528 MB / 2.83 GB, free: 290.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/6.166, allocations: 87.09 kB / 2.831 GB, free: 290.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/6.166, allocations: 24.31 kB / 2.831 GB, free: 290.2 MB / 0.9792 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 () * Number of clocked 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.0006045/6.167, allocations: 263.9 kB / 2.831 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/6.167, allocations: 79.11 kB / 2.831 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/6.169, allocations: 1.029 MB / 2.832 GB, free: 290 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/6.169, allocations: 12.84 kB / 2.832 GB, free: 290 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/6.169, allocations: 2.719 kB / 2.832 GB, free: 290 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/6.169, allocations: 3.047 kB / 2.832 GB, free: 290 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/6.171, allocations: 0.9079 MB / 2.833 GB, free: 289.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/6.171, allocations: 6.219 kB / 2.833 GB, free: 289.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/6.171, allocations: 147.3 kB / 2.833 GB, free: 289.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/6.172, allocations: 88.14 kB / 2.833 GB, free: 289.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/6.172, allocations: 24.81 kB / 2.833 GB, free: 289.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/6.173, allocations: 1.554 MB / 2.835 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/6.173, allocations: 0 / 2.835 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/6.175, allocations: 0.8807 MB / 2.835 GB, free: 288.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/6.176, allocations: 299 kB / 2.836 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/6.176, allocations: 14.88 kB / 2.836 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/6.177, allocations: 72.95 kB / 2.836 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/6.177, allocations: 61.44 kB / 2.836 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/6.177, allocations: 32.5 kB / 2.836 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007687/6.178, allocations: 0.5014 MB / 2.836 GB, free: 288.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.51e-07/6.178, allocations: 2.344 kB / 2.836 GB, free: 288.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001349/6.179, allocations: 364.7 kB / 2.837 GB, free: 288 MB / 0.9792 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) * Number of clocked states: 0 () * 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.002308/6.181, allocations: 1.104 MB / 2.838 GB, free: 287.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001625/6.183, allocations: 0.7655 MB / 2.839 GB, free: 287.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/6.183, allocations: 0 / 2.839 GB, free: 287.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008868/6.184, allocations: 0.4956 MB / 2.839 GB, free: 287.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/6.185, allocations: 261.7 kB / 2.839 GB, free: 287.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/6.19, allocations: 2.205 MB / 2.841 GB, free: 286.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/6.191, allocations: 1.016 MB / 2.842 GB, free: 285.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001087/6.192, allocations: 264.5 kB / 2.843 GB, free: 285.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/6.192, allocations: 97.17 kB / 2.843 GB, free: 285.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.783e-06/6.192, allocations: 0 / 2.843 GB, free: 285.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.03902/6.231, allocations: 21.39 MB / 2.864 GB, free: 284.3 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)