Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 303.4 MB, free: 8.191 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.0009938/0.0009939, allocations: 193.1 kB / 372 MB, free: 10.26 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.448/1.448, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008573/0.0008576, allocations: 88.98 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 11 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05624/0.2889, allocations: 66.84 MB / 1.045 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02707/0.316, allocations: 18.89 MB / 1.063 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.3195, allocations: 83.38 kB / 1.063 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.3219, allocations: 0.6677 MB / 1.064 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.3274, allocations: 1.929 MB / 1.066 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.3318, allocations: 1.551 MB / 1.067 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4432/0.775, allocations: 9.028 MB / 1.076 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009214/0.7842, allocations: 5.319 MB / 1.081 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007617/0.7919, allocations: 2.682 MB / 1.084 GB, free: 19.47 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0061/0.798, allocations: 2.309 MB / 1.086 GB, free: 19.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.7994, allocations: 128.9 kB / 1.086 GB, free: 19.46 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.8043, allocations: 1.019 MB / 1.087 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.8059, allocations: 0.6071 MB / 1.088 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.8084, allocations: 0.6441 MB / 1.089 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.815, allocations: 3.48 MB / 1.092 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.815, allocations: 3.25 kB / 1.092 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/0.815, allocations: 2.594 kB / 1.092 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002142/0.8152, allocations: 0 / 1.092 GB, free: 19.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0102/0.8254, allocations: 3.861 MB / 1.096 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8255, allocations: 12.91 kB / 1.096 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.8287, allocations: 0.5636 MB / 1.096 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/0.8349, allocations: 2.46 MB / 1.099 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.8351, allocations: 140.3 kB / 1.099 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004738/0.8356, allocations: 188 kB / 1.099 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.84, allocations: 2.412 MB / 1.101 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.84, allocations: 7.156 kB / 1.101 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.8402, allocations: 68.31 kB / 1.102 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.8403, allocations: 42.91 kB / 1.102 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.844, allocations: 2.016 MB / 1.104 GB, free: 16.11 MB / 0.6823 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.01643/0.8604, allocations: 12.14 MB / 1.115 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.8638, allocations: 1.554 MB / 1.117 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.8656, allocations: 1.09 MB / 1.118 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.8731, allocations: 4.092 MB / 1.122 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.8749, allocations: 0.8823 MB / 1.123 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002357/0.8772, allocations: 449 kB / 1.123 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 9.779e-06/0.8773, allocations: 0 / 1.123 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.01699/0.8943, allocations: 5.199 MB / 1.128 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.8943, allocations: 65.98 kB / 1.128 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/0.9008, allocations: 2.995 MB / 1.131 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004436/0.9012, allocations: 58.05 kB / 1.131 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.9028, allocations: 1.419 MB / 1.133 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005063/0.9033, allocations: 342.8 kB / 1.133 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.9035, allocations: 27.38 kB / 1.133 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9036, allocations: 363.9 kB / 1.133 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.9051, allocations: 0.6888 MB / 1.134 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.9072, allocations: 1.498 MB / 1.136 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.9089, allocations: 0.9052 MB / 1.136 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.9089, allocations: 3.625 kB / 1.136 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007089/0.916, allocations: 2.948 MB / 1.139 GB, free: 15.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.9164, allocations: 0.5479 MB / 1.14 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.9165, allocations: 13.31 kB / 1.14 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003032/0.9195, allocations: 0.7737 MB / 1.141 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.9209, allocations: 295 kB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.9232, allocations: 2.187 MB / 1.143 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.9267, allocations: 248.2 kB / 1.143 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.927, allocations: 76.31 kB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.927, allocations: 7.688 kB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004349/0.9314, allocations: 2.296 MB / 1.146 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.9314, allocations: 19.84 kB / 1.146 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.9329, allocations: 0.5801 MB / 1.146 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.934, allocations: 290.5 kB / 1.147 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.9417, allocations: 6.509 MB / 1.153 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/0.9451, allocations: 240.2 kB / 1.153 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.9454, allocations: 66.86 kB / 1.153 GB, free: 8.898 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002097/0.9475, allocations: 0.8279 MB / 1.154 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.9486, allocations: 295.4 kB / 1.154 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005341/0.9539, allocations: 2.493 MB / 1.157 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.954, allocations: 15.98 kB / 1.157 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.954, allocations: 0 / 1.157 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003606/0.9576, allocations: 2.183 MB / 1.159 GB, free: 4.746 MB / 0.698 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.01016/0.9678, allocations: 4.702 MB / 1.163 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.9678, allocations: 4 kB / 1.163 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.9686, allocations: 153.7 kB / 1.164 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.9698, allocations: 0.5436 MB / 1.164 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/0.9699, allocations: 27.98 kB / 1.164 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.972, allocations: 2.095 MB / 1.166 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.972, allocations: 4.031 kB / 1.166 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.9783, allocations: 3.346 MB / 1.169 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/0.9803, allocations: 0.5479 MB / 1.17 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/0.9815, allocations: 20 kB / 1.17 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/0.9843, allocations: 207.5 kB / 1.17 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.9845, allocations: 64.91 kB / 1.17 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.9846, allocations: 39.97 kB / 1.17 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00425/0.9889, allocations: 2.048 MB / 1.172 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9889, allocations: 0 / 1.172 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006989/0.9959, allocations: 1.482 MB / 1.174 GB, free: 5.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.9974, allocations: 443.2 kB / 1.174 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006795/1.004, allocations: 3.252 MB / 1.177 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.004, allocations: 4.188 kB / 1.177 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.006, allocations: 0.8149 MB / 1.178 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009451/1.015, allocations: 1.565 MB / 1.18 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.026, allocations: 5.923 MB / 1.185 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/1.028, allocations: 2.037 MB / 1.187 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003172/1.031, allocations: 0.6679 MB / 1.188 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/1.032, allocations: 207.4 kB / 1.188 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/1.032, allocations: 0 / 1.188 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of Templates: time 0.08736/1.119, allocations: 57.38 MB / 1.244 GB, free: 13.95 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)