Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 105.3 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.89 kB / 0.6729 GB, free: 5.699 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 114.6 MB / 0.7848 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.4027/0.6449, allocations: 29.72 MB / 0.8138 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.6625, allocations: 12.49 MB / 0.826 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.6647, allocations: 44.72 kB / 0.826 GB, free: 22.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.6675, allocations: 0.6881 MB / 0.8267 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.6725, allocations: 1.453 MB / 0.8281 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.6771, allocations: 1.376 MB / 0.8295 GB, free: 20.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006449/0.6836, allocations: 3.798 MB / 0.8332 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.6865, allocations: 1.356 MB / 0.8345 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.6908, allocations: 1.47 MB / 0.8359 GB, free: 18.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.6934, allocations: 1.038 MB / 0.837 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.6941, allocations: 117.7 kB / 0.8371 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.6978, allocations: 1.133 MB / 0.8382 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.6987, allocations: 396.5 kB / 0.8386 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.701, allocations: 0.7853 MB / 0.8393 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.7068, allocations: 2.441 MB / 0.8417 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7069, allocations: 1 kB / 0.8417 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7069, allocations: 0 / 0.8417 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.968e-05/0.707, allocations: 0 / 0.8417 GB, free: 15.63 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005725/0.7127, allocations: 1.939 MB / 0.8436 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.7127, allocations: 9.594 kB / 0.8436 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.7142, allocations: 245.2 kB / 0.8438 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.7175, allocations: 1.334 MB / 0.8451 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.7176, allocations: 64.78 kB / 0.8452 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.7178, allocations: 88.89 kB / 0.8453 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.7197, allocations: 0.9754 MB / 0.8462 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.7198, allocations: 5.406 kB / 0.8463 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.7199, allocations: 32.52 kB / 0.8463 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.7199, allocations: 18.81 kB / 0.8463 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.7215, allocations: 0.7042 MB / 0.847 GB, free: 12.74 MB / 0.6544 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.006232/0.7277, allocations: 4.849 MB / 0.8517 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.729, allocations: 0.5525 MB / 0.8523 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.7297, allocations: 319.1 kB / 0.8526 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/0.7322, allocations: 1.579 MB / 0.8541 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.7329, allocations: 334.5 kB / 0.8544 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004845/0.7334, allocations: 50.78 kB / 0.8545 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 3.637e-06/0.7334, allocations: 0 / 0.8545 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.003296/0.7367, allocations: 1.161 MB / 0.8556 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.7368, allocations: 58 kB / 0.8557 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.7385, allocations: 1.271 MB / 0.8569 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7386, allocations: 43.08 kB / 0.857 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.7391, allocations: 0.6433 MB / 0.8576 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.7392, allocations: 153.3 kB / 0.8577 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.7394, allocations: 160.8 kB / 0.8579 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.7395, allocations: 336.3 kB / 0.8582 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.7401, allocations: 272.5 kB / 0.8585 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.7408, allocations: 0.5865 MB / 0.859 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.7419, allocations: 0.8106 MB / 0.8598 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.742, allocations: 2.875 kB / 0.8598 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002296/0.7443, allocations: 1.092 MB / 0.8609 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.7443, allocations: 35.64 kB / 0.8609 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.7443, allocations: 7.906 kB / 0.8609 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.745, allocations: 190.9 kB / 0.8611 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.7455, allocations: 137.3 kB / 0.8612 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006219/0.7462, allocations: 0.7727 MB / 0.862 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.7472, allocations: 38.89 kB / 0.862 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.7473, allocations: 42.17 kB / 0.8621 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/0.7483, allocations: 0.5566 MB / 0.8626 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000567/0.7489, allocations: 0.5535 MB / 0.8632 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009486/0.7498, allocations: 0.7421 MB / 0.8639 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.7498, allocations: 1.969 kB / 0.8639 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001881/0.7517, allocations: 1.06 MB / 0.8649 GB, free: 280 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.7518, allocations: 36.64 kB / 0.865 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7518, allocations: 10.73 kB / 0.865 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.752, allocations: 103.3 kB / 0.8651 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.7525, allocations: 132.7 kB / 0.8652 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.7548, allocations: 2.359 MB / 0.8675 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.7559, allocations: 42.45 kB / 0.8675 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.756, allocations: 40.89 kB / 0.8676 GB, free: 14.05 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.7563, allocations: 238.8 kB / 0.8678 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.7566, allocations: 130.2 kB / 0.8679 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.7586, allocations: 0.8639 MB / 0.8688 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.7587, allocations: 5.469 kB / 0.8688 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7587, allocations: 7.875 kB / 0.8688 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/0.7601, allocations: 0.8776 MB / 0.8696 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.7637, allocations: 1.801 MB / 0.8714 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7637, allocations: 1.219 kB / 0.8714 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.7641, allocations: 74.56 kB / 0.8715 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.7644, allocations: 130.5 kB / 0.8716 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.7644, allocations: 12.56 kB / 0.8716 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006218/0.7651, allocations: 0.7475 MB / 0.8723 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7651, allocations: 1.031 kB / 0.8723 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.7673, allocations: 1.172 MB / 0.8735 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.7679, allocations: 257.8 kB / 0.8737 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.7681, allocations: 11.56 kB / 0.8737 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.7686, allocations: 33.88 kB / 0.8738 GB, free: 9.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.7687, allocations: 38.08 kB / 0.8738 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.7688, allocations: 24.92 kB / 0.8738 GB, free: 9.738 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001352/0.7702, allocations: 0.888 MB / 0.8747 GB, free: 9.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7702, allocations: 1.156 kB / 0.8747 GB, free: 9.246 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002457/0.7726, allocations: 0.6524 MB / 0.8753 GB, free: 9.105 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.7738, allocations: 359.3 kB / 0.8757 GB, free: 8.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.7766, allocations: 1.338 MB / 0.877 GB, free: 8.152 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.7766, allocations: 1.156 kB / 0.877 GB, free: 8.152 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.7774, allocations: 322 kB / 0.8773 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.7802, allocations: 0.5952 MB / 0.8779 GB, free: 7.738 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7843, allocations: 2.248 MB / 0.8801 GB, free: 6.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009408/0.7853, allocations: 1.254 MB / 0.8813 GB, free: 5.441 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.7857, allocations: 101.4 kB / 0.8814 GB, free: 5.422 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/0.7857, allocations: 1.375 kB / 0.8814 GB, free: 5.422 MB / 0.67 GB Notification: Performance of Templates: time 0.04057/0.8263, allocations: 28.82 MB / 0.9095 GB, free: 9.203 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)