Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00133/0.00133, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001126/0.001127, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 285.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9096/0.9096, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 96.23 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.375, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example2): time 0.02851/0.4035, allocations: 30.03 MB / 0.7964 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.4192, allocations: 11.74 MB / 0.8078 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.4207, allocations: 47.75 kB / 0.8079 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.4246, allocations: 1.491 MB / 0.8093 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.4283, allocations: 1.66 MB / 0.8109 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.4316, allocations: 1.471 MB / 0.8124 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008354/0.4399, allocations: 6.739 MB / 0.819 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.4419, allocations: 1.404 MB / 0.8203 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.4448, allocations: 1.513 MB / 0.8218 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.4465, allocations: 1.116 MB / 0.8229 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003763/0.4469, allocations: 128 kB / 0.823 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.4495, allocations: 1.307 MB / 0.8243 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000731/0.4502, allocations: 0.5295 MB / 0.8248 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.4516, allocations: 0.9755 MB / 0.8258 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.4556, allocations: 3.038 MB / 0.8287 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4556, allocations: 0 / 0.8287 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4556, allocations: 0 / 0.8287 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.673e-05/0.4557, allocations: 4 kB / 0.8287 GB, free: 4.512 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004932/0.4607, allocations: 2.366 MB / 0.8311 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4607, allocations: 12.03 kB / 0.8311 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.4627, allocations: 377.2 kB / 0.8314 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/0.4669, allocations: 2.399 MB / 0.8338 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.4669, allocations: 62 kB / 0.8338 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.4671, allocations: 88 kB / 0.8339 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.469, allocations: 1.005 MB / 0.8349 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.4691, allocations: 7.938 kB / 0.8349 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.4692, allocations: 35.98 kB / 0.8349 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.4692, allocations: 20 kB / 0.835 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.4709, allocations: 0.7493 MB / 0.8357 GB, free: 13.21 MB / 0.6075 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.006323/0.4773, allocations: 5.247 MB / 0.8408 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4786, allocations: 0.5614 MB / 0.8414 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/0.4794, allocations: 328 kB / 0.8417 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00243/0.4818, allocations: 1.646 MB / 0.8433 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007828/0.4826, allocations: 331.3 kB / 0.8436 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003389/0.483, allocations: 63.3 kB / 0.8437 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.483, allocations: 4 kB / 0.8437 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.003391/0.4864, allocations: 1.226 MB / 0.8449 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.4864, allocations: 59.41 kB / 0.8449 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.4889, allocations: 1.873 MB / 0.8467 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.489, allocations: 37.7 kB / 0.8468 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.4896, allocations: 0.7831 MB / 0.8475 GB, free: 472 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.4897, allocations: 157.9 kB / 0.8477 GB, free: 312 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.4901, allocations: 262.3 kB / 0.8479 GB, free: 44 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4902, allocations: 353.9 kB / 0.8483 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/0.4911, allocations: 468.9 kB / 0.8487 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4922, allocations: 0.8237 MB / 0.8495 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.4941, allocations: 1.169 MB / 0.8507 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4941, allocations: 4 kB / 0.8507 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00295/0.497, allocations: 1.596 MB / 0.8522 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.4971, allocations: 37.77 kB / 0.8523 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4971, allocations: 12 kB / 0.8523 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.4978, allocations: 184.6 kB / 0.8525 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.4985, allocations: 195.7 kB / 0.8526 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/0.4993, allocations: 0.7745 MB / 0.8534 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.5003, allocations: 76.12 kB / 0.8535 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5004, allocations: 47.98 kB / 0.8535 GB, free: 10 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.5017, allocations: 0.8612 MB / 0.8544 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.5027, allocations: 0.8185 MB / 0.8552 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.5043, allocations: 1.124 MB / 0.8563 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.5043, allocations: 0 / 0.8563 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00258/0.5069, allocations: 1.584 MB / 0.8578 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.507, allocations: 41.69 kB / 0.8578 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.507, allocations: 11.98 kB / 0.8579 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.5072, allocations: 108.7 kB / 0.858 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.5079, allocations: 188 kB / 0.8581 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5101, allocations: 2.36 MB / 0.8604 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.5111, allocations: 76.02 kB / 0.8605 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.5112, allocations: 44 kB / 0.8606 GB, free: 2.305 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.00026/0.5115, allocations: 240 kB / 0.8608 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.5118, allocations: 165.8 kB / 0.8609 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.5139, allocations: 0.9079 MB / 0.8618 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.5154, allocations: 0.8919 MB / 0.8627 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5154, allocations: 4 kB / 0.8627 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.516, allocations: 306.9 kB / 0.863 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.5163, allocations: 12 kB / 0.863 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.517, allocations: 39.95 kB / 0.863 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5171, allocations: 52.36 kB / 0.8631 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002048/0.5192, allocations: 0.8201 MB / 0.8639 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002208/0.5214, allocations: 1.178 MB / 0.8651 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006035/0.522, allocations: 279.2 kB / 0.8653 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001855/0.5239, allocations: 1.269 MB / 0.8666 GB, free: 12 MB / 0.6387 GB Notification: Performance of Backend: time 5.81e-07/0.5239, allocations: 0 / 0.8666 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004815/0.5288, allocations: 2.2 MB / 0.8687 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006696/0.5355, allocations: 3.967 MB / 0.8726 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of Templates: time 0.05706/0.5925, allocations: 36.85 MB / 0.9086 GB, free: 1.355 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)