Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001401/0.001401, allocations: 180.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009276/0.0009271, allocations: 85.61 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005351, allocations: 16.78 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.09227/0.3001, allocations: 66.83 MB / 1.044 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.04088/0.3411, allocations: 18.88 MB / 1.062 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.3446, allocations: 83.38 kB / 1.062 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.3483, allocations: 0.6715 MB / 1.063 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.3564, allocations: 1.92 MB / 1.065 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.3632, allocations: 1.568 MB / 1.066 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.6668/1.03, allocations: 9.028 MB / 1.075 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/1.043, allocations: 5.319 MB / 1.08 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009268/1.053, allocations: 2.687 MB / 1.083 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006758/1.059, allocations: 2.299 MB / 1.085 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001244/1.061, allocations: 133.8 kB / 1.085 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/1.067, allocations: 1.014 MB / 1.086 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001956/1.069, allocations: 0.6068 MB / 1.087 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/1.071, allocations: 0.6468 MB / 1.087 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008104/1.079, allocations: 3.479 MB / 1.091 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.079, allocations: 0.5625 kB / 1.091 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.426e-06/1.079, allocations: 1.375 kB / 1.091 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001786/1.079, allocations: 0 / 1.091 GB, free: 18.55 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.015/1.094, allocations: 3.861 MB / 1.095 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.095, allocations: 8.812 kB / 1.095 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/1.099, allocations: 0.5705 MB / 1.095 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008535/1.108, allocations: 2.46 MB / 1.098 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.108, allocations: 140 kB / 1.098 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006335/1.109, allocations: 187.4 kB / 1.098 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007521/1.116, allocations: 2.417 MB / 1.1 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/1.116, allocations: 8.312 kB / 1.1 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/1.117, allocations: 65.62 kB / 1.1 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/1.117, allocations: 40.47 kB / 1.1 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007108/1.124, allocations: 2.018 MB / 1.102 GB, free: 15.56 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.02678/1.151, allocations: 12.14 MB / 1.114 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/1.156, allocations: 1.559 MB / 1.116 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.16, allocations: 1.095 MB / 1.117 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/1.172, allocations: 4.091 MB / 1.121 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002759/1.175, allocations: 0.8783 MB / 1.122 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003367/1.178, allocations: 448.6 kB / 1.122 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 7.935e-06/1.178, allocations: 0 / 1.122 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.02947/1.207, allocations: 5.204 MB / 1.127 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/1.208, allocations: 62.59 kB / 1.127 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007456/1.215, allocations: 2.995 MB / 1.13 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.216, allocations: 57.89 kB / 1.13 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.217, allocations: 1.418 MB / 1.132 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006413/1.218, allocations: 339.6 kB / 1.132 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.218, allocations: 27.97 kB / 1.132 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.218, allocations: 362.6 kB / 1.132 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1.221, allocations: 0.6907 MB / 1.133 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/1.224, allocations: 1.497 MB / 1.134 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/1.227, allocations: 0.9014 MB / 1.135 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/1.227, allocations: 5.562 kB / 1.135 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01135/1.238, allocations: 2.947 MB / 1.138 GB, free: 316 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/1.239, allocations: 0.5341 MB / 1.139 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.239, allocations: 15.78 kB / 1.139 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/1.244, allocations: 0.7767 MB / 1.139 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.246, allocations: 306.5 kB / 1.14 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/1.25, allocations: 2.182 MB / 1.142 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.256, allocations: 249.8 kB / 1.142 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/1.256, allocations: 77 kB / 1.142 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.256, allocations: 4.531 kB / 1.142 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007247/1.263, allocations: 2.299 MB / 1.144 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/1.264, allocations: 20.94 kB / 1.144 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/1.266, allocations: 0.5775 MB / 1.145 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/1.268, allocations: 292.1 kB / 1.145 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/1.281, allocations: 6.506 MB / 1.152 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/1.286, allocations: 234.2 kB / 1.152 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.286, allocations: 69.73 kB / 1.152 GB, free: 9.348 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.002457/1.289, allocations: 0.8345 MB / 1.153 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.29, allocations: 294.8 kB / 1.153 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/1.298, allocations: 2.491 MB / 1.155 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/1.298, allocations: 8 kB / 1.155 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.298, allocations: 4 kB / 1.155 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006583/1.305, allocations: 2.183 MB / 1.158 GB, free: 5.664 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.01512/1.32, allocations: 4.705 MB / 1.162 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.32, allocations: 0 / 1.162 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.321, allocations: 165.9 kB / 1.162 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/1.324, allocations: 0.5454 MB / 1.163 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.324, allocations: 27.98 kB / 1.163 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/1.327, allocations: 2.091 MB / 1.165 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.327, allocations: 0 / 1.165 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.338, allocations: 3.344 MB / 1.168 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.341, allocations: 0.5518 MB / 1.169 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009244/1.342, allocations: 16 kB / 1.169 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00409/1.346, allocations: 211.5 kB / 1.169 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.346, allocations: 68.84 kB / 1.169 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.346, allocations: 35.97 kB / 1.169 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00533/1.352, allocations: 2.048 MB / 1.171 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.453e-06/1.352, allocations: 0 / 1.171 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007968/1.36, allocations: 1.486 MB / 1.173 GB, free: 6.66 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.001662/1.361, allocations: 435.3 kB / 1.173 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.372, allocations: 3.262 MB / 1.176 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.372, allocations: 0 / 1.176 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/1.375, allocations: 0.8189 MB / 1.177 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01508/1.39, allocations: 1.553 MB / 1.178 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.406, allocations: 5.927 MB / 1.184 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/1.408, allocations: 2.037 MB / 1.186 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004823/1.413, allocations: 0.6717 MB / 1.187 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.414, allocations: 207.3 kB / 1.187 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/1.414, allocations: 0 / 1.187 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of Templates: time 0.1581/1.573, allocations: 57.38 MB / 1.243 GB, free: 14.95 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)