Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.751/1.751, allocations: 297.8 MB / 313.7 MB, free: 152 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.001089/0.001089, allocations: 184.5 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.426/1.426, allocations: 223.2 MB / 0.6626 GB, free: 4.383 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.0009725/0.0009725, allocations: 97.95 kB / 0.7808 GB, free: 43.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004667, allocations: 17.23 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.763, allocations: 120.3 MB / 1.026 GB, free: 56.87 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9875/1.751, allocations: 394.2 MB / 1.411 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.751, allocations: 96 kB / 1.411 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.522/4.273, allocations: 0.6978 GB / 2.109 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.835e-06/4.273, allocations: 0 / 2.109 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003766/4.273, allocations: 52.06 kB / 2.109 GB, free: 190.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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.0082/4.282, allocations: 2.421 MB / 2.112 GB, free: 189.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/4.282, allocations: 12.84 kB / 2.112 GB, free: 189.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/4.284, allocations: 287 kB / 2.112 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007017/4.291, allocations: 2.534 MB / 2.114 GB, free: 188.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/4.291, allocations: 75.94 kB / 2.114 GB, free: 188.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/4.291, allocations: 108.1 kB / 2.114 GB, free: 188.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/4.294, allocations: 1.259 MB / 2.116 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/4.294, allocations: 6.406 kB / 2.116 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/4.294, allocations: 40.39 kB / 2.116 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/4.294, allocations: 24.81 kB / 2.116 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/4.296, allocations: 0.9524 MB / 2.117 GB, free: 188.4 MB / 0.9792 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.009249/4.306, allocations: 6.642 MB / 2.123 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/4.307, allocations: 0.6014 MB / 2.124 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/4.308, allocations: 402.7 kB / 2.124 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/4.311, allocations: 1.616 MB / 2.126 GB, free: 183.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/4.312, allocations: 374.1 kB / 2.126 GB, free: 183.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/4.313, allocations: 133.2 kB / 2.126 GB, free: 183.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 6.041e-06/4.313, allocations: 0 / 2.126 GB, free: 183.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=47): time 0.003599/4.317, allocations: 1.323 MB / 2.127 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/4.317, allocations: 58.5 kB / 2.128 GB, free: 183.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/4.321, allocations: 1.747 MB / 2.129 GB, free: 183.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/4.321, allocations: 43.42 kB / 2.129 GB, free: 183 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/4.322, allocations: 0.85 MB / 2.13 GB, free: 182.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/4.323, allocations: 161.6 kB / 2.13 GB, free: 182.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/4.323, allocations: 22.66 kB / 2.13 GB, free: 182.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001252/4.323, allocations: 340.6 kB / 2.131 GB, free: 182.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/4.324, allocations: 284.7 kB / 2.131 GB, free: 182.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/4.325, allocations: 0.7267 MB / 2.132 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/4.326, allocations: 0.9361 MB / 2.133 GB, free: 181.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/4.326, allocations: 6.344 kB / 2.133 GB, free: 181.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003529/4.33, allocations: 1.228 MB / 2.134 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/4.33, allocations: 426 kB / 2.134 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/4.33, allocations: 13.67 kB / 2.134 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/4.331, allocations: 178.3 kB / 2.134 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/4.331, allocations: 167.2 kB / 2.134 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006641/4.332, allocations: 0.761 MB / 2.135 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/4.334, allocations: 111.6 kB / 2.135 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/4.334, allocations: 50.94 kB / 2.135 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/4.334, allocations: 2.906 kB / 2.135 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/4.336, allocations: 1.068 MB / 2.136 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/4.336, allocations: 12.75 kB / 2.136 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/4.336, allocations: 121.7 kB / 2.137 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/4.337, allocations: 158.8 kB / 2.137 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/4.339, allocations: 2.124 MB / 2.139 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/4.34, allocations: 100.7 kB / 2.139 GB, free: 178.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/4.341, allocations: 44.64 kB / 2.139 GB, free: 178.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001279/4.342, allocations: 0.5877 MB / 2.139 GB, free: 178.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/4.342, allocations: 171.7 kB / 2.14 GB, free: 178.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/4.345, allocations: 0.9995 MB / 2.141 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/4.345, allocations: 6.031 kB / 2.141 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/4.345, allocations: 3.938 kB / 2.141 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/4.346, allocations: 0.9514 MB / 2.142 GB, free: 178 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.005514/4.352, allocations: 2.172 MB / 2.144 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/4.352, allocations: 5.297 kB / 2.144 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/4.352, allocations: 93.17 kB / 2.144 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/4.353, allocations: 123.1 kB / 2.144 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/4.353, allocations: 18.55 kB / 2.144 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006713/4.353, allocations: 0.7309 MB / 2.145 GB, free: 177 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/4.353, allocations: 0.625 kB / 2.145 GB, free: 177 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/4.356, allocations: 1.372 MB / 2.146 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/4.357, allocations: 312.8 kB / 2.146 GB, free: 176.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/4.358, allocations: 13.05 kB / 2.146 GB, free: 176.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/4.359, allocations: 83.03 kB / 2.146 GB, free: 176.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/4.359, allocations: 44.62 kB / 2.146 GB, free: 176.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/4.359, allocations: 23.45 kB / 2.146 GB, free: 176.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002724/4.362, allocations: 1.205 MB / 2.148 GB, free: 176.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.31e-07/4.362, allocations: 0 / 2.148 GB, free: 176.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004082/4.366, allocations: 0.8538 MB / 2.148 GB, free: 176.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/4.368, allocations: 0.7879 MB / 2.149 GB, free: 176.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002978/4.371, allocations: 1.448 MB / 2.151 GB, free: 175.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/4.371, allocations: 1.156 kB / 2.151 GB, free: 175.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/4.372, allocations: 335.7 kB / 2.151 GB, free: 175.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/4.376, allocations: 0.7455 MB / 2.152 GB, free: 175.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/4.382, allocations: 3.405 MB / 2.155 GB, free: 174.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/4.384, allocations: 1.499 MB / 2.156 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002294/4.387, allocations: 440.5 kB / 2.157 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/4.387, allocations: 124 kB / 2.157 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.012e-06/4.387, allocations: 0 / 2.157 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.06617/4.453, allocations: 33.72 MB / 2.19 GB, free: 172.2 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)