Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.7 kB / 16.42 MB, free: 6.52 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.001042/0.001042, 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 287.4 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.9391/0.9391, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4005, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example1v2): time 0.07189/0.4724, allocations: 81.03 MB / 0.8462 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03085/0.5033, allocations: 21.08 MB / 0.8668 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.5067, allocations: 107.4 kB / 0.8669 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.5121, allocations: 1.959 MB / 0.8688 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.5194, allocations: 3.019 MB / 0.8718 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.5252, allocations: 2.493 MB / 0.8742 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02994/0.5552, allocations: 29.85 MB / 0.9033 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02057/0.5758, allocations: 17.04 MB / 0.92 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01846/0.5943, allocations: 11.43 MB / 0.9311 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01818/0.6125, allocations: 11.74 MB / 0.9426 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004512/0.617, allocations: 1.289 MB / 0.9439 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00904/0.6261, allocations: 2.755 MB / 0.9466 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006162/0.6322, allocations: 3.775 MB / 0.9502 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01173/0.644, allocations: 6.68 MB / 0.9568 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.6371/1.281, allocations: 19.1 MB / 0.9754 GB, free: 52.1 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.281, allocations: 0 / 0.9754 GB, free: 52.1 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/1.281, allocations: 2.406 kB / 0.9754 GB, free: 52.1 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003987/1.282, allocations: 2.625 kB / 0.9754 GB, free: 52.1 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03678/1.318, allocations: 12.64 MB / 0.9878 GB, free: 47.87 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.318, allocations: 11.06 kB / 0.9878 GB, free: 47.87 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008852/1.327, allocations: 1.388 MB / 0.9891 GB, free: 47.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02472/1.352, allocations: 11.22 MB / 1 GB, free: 45.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/1.352, allocations: 436 kB / 1 GB, free: 45.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003884/1.356, allocations: 0.5874 MB / 1.001 GB, free: 45.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/1.395, allocations: 14.65 MB / 1.015 GB, free: 43.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004218/1.396, allocations: 25.61 kB / 1.015 GB, free: 43.28 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005554/1.402, allocations: 243.8 kB / 1.016 GB, free: 43.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.402, allocations: 137.9 kB / 1.016 GB, free: 43.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03095/1.433, allocations: 19.8 MB / 1.035 GB, free: 38.46 MB / 0.7169 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.1061/1.539, allocations: 60.46 MB / 1.094 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/1.554, allocations: 9.183 MB / 1.103 GB, free: 1.109 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01303/1.567, allocations: 8.609 MB / 1.112 GB, free: 8.512 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05697/1.624, allocations: 27.51 MB / 1.138 GB, free: 12.74 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01264/1.637, allocations: 7.643 MB / 1.146 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01674/1.654, allocations: 4.498 MB / 1.15 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=298): time 1.848e-05/1.654, allocations: 2.625 kB / 1.15 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of matching and sorting (n=298): time 0.05668/1.71, allocations: 23.83 MB / 1.174 GB, free: 8.812 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/1.711, allocations: 81.75 kB / 1.174 GB, free: 8.719 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01726/1.728, allocations: 8.836 MB / 1.182 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.002111/1.73, allocations: 97.7 kB / 1.182 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.005189/1.735, allocations: 4.217 MB / 1.186 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003122/1.738, allocations: 1.074 MB / 1.187 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006479/1.745, allocations: 1.768 MB / 1.189 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/1.745, allocations: 301.1 kB / 1.189 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01107/1.756, allocations: 6.737 MB / 1.196 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/1.769, allocations: 8.573 MB / 1.204 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02466/1.794, allocations: 15.6 MB / 1.22 GB, free: 8.199 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.695e-05/1.794, allocations: 16 kB / 1.22 GB, free: 8.184 MB / 0.8732 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.04031/1.834, allocations: 18.07 MB / 1.237 GB, free: 6.375 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/1.834, allocations: 54.7 kB / 1.237 GB, free: 6.316 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-05/1.834, allocations: 51.94 kB / 1.237 GB, free: 6.266 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07315/1.908, allocations: 11.59 MB / 1.249 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00931/1.917, allocations: 1.605 MB / 1.25 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/1.923, allocations: 3.786 MB / 1.254 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/1.934, allocations: 366.8 kB / 1.254 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/1.937, allocations: 0.5499 MB / 1.255 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01765/1.955, allocations: 9.124 MB / 1.264 GB, free: 11.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01232/1.967, allocations: 8.547 MB / 1.272 GB, free: 1.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02353/1.991, allocations: 15.53 MB / 1.287 GB, free: 1.914 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-05/1.991, allocations: 16 kB / 1.287 GB, free: 1.898 MB / 0.9357 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.03561/2.026, allocations: 17.94 MB / 1.305 GB, free: 196 kB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/2.026, allocations: 57.69 kB / 1.305 GB, free: 132 kB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.361e-05/2.027, allocations: 48.91 kB / 1.305 GB, free: 84 kB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3943/2.421, allocations: 11.13 MB / 1.316 GB, free: 385.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008342/2.429, allocations: 1.604 MB / 1.317 GB, free: 385.3 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00856/2.438, allocations: 8.167 MB / 1.325 GB, free: 381.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009982/2.448, allocations: 381.7 kB / 1.326 GB, free: 381.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/2.45, allocations: 0.5456 MB / 1.326 GB, free: 381.7 MB / 0.9513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002199/2.452, allocations: 494.5 kB / 1.327 GB, free: 381.5 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002978/2.455, allocations: 0.7994 MB / 1.328 GB, free: 381.5 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/2.476, allocations: 14.11 MB / 1.341 GB, free: 376.5 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01217/2.489, allocations: 10.68 MB / 1.352 GB, free: 367 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/2.489, allocations: 0 / 1.352 GB, free: 367 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005453/2.494, allocations: 1.87 MB / 1.354 GB, free: 365.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/2.496, allocations: 71.98 kB / 1.354 GB, free: 365.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00565/2.502, allocations: 217.3 kB / 1.354 GB, free: 365.3 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008625/2.503, allocations: 262.2 kB / 1.354 GB, free: 365 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0177/2.52, allocations: 11.61 MB / 1.365 GB, free: 353.5 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02179/2.542, allocations: 19.15 MB / 1.384 GB, free: 334.4 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005582/2.548, allocations: 5.975 MB / 1.39 GB, free: 328.4 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.009107/2.557, allocations: 6.075 MB / 1.396 GB, free: 322.3 MB / 0.9513 GB Notification: Performance of Backend: time 1.203e-06/2.557, allocations: 4 kB / 1.396 GB, free: 322.3 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.03413/2.591, allocations: 19.81 MB / 1.415 GB, free: 302.6 MB / 0.9513 GB Notification: Performance of SimCode: time 0.03637/2.628, allocations: 21.71 MB / 1.436 GB, free: 281.1 MB / 0.9513 GB Notification: Performance of Templates: time 0.5994/3.227, allocations: 280.3 MB / 1.71 GB, free: 384.4 MB / 0.9513 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)