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.001199/0.001199, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009302/0.0009302, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.696/1.696, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005184/0.0005186, allocations: 14.5 kB / 0.6735 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02303/0.2453, allocations: 24.9 MB / 0.8114 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.2625, allocations: 11.12 MB / 0.8223 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.2641, allocations: 35.75 kB / 0.8223 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.2659, allocations: 0.5677 MB / 0.8229 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.2694, allocations: 1.335 MB / 0.8242 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006017/0.2754, allocations: 2.264 MB / 0.8264 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.2788, allocations: 2.202 MB / 0.8285 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2801, allocations: 1.004 MB / 0.8295 GB, free: 436 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.2818, allocations: 1.004 MB / 0.8305 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.2826, allocations: 0.7039 MB / 0.8312 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2827, allocations: 52 kB / 0.8312 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.2843, allocations: 0.7256 MB / 0.8319 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2846, allocations: 298.8 kB / 0.8322 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.2849, allocations: 316.9 kB / 0.8325 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.2865, allocations: 1.738 MB / 0.8342 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2865, allocations: 0 / 0.8342 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2865, allocations: 4 kB / 0.8342 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.2865, allocations: 3.938 kB / 0.8342 GB, free: 11.57 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.00268/0.2892, allocations: 1.69 MB / 0.8359 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2893, allocations: 8.031 kB / 0.8359 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.2902, allocations: 261.8 kB / 0.8361 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.2923, allocations: 1.246 MB / 0.8374 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.2924, allocations: 66 kB / 0.8374 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2925, allocations: 87.98 kB / 0.8375 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.2941, allocations: 1.008 MB / 0.8385 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.2942, allocations: 3.938 kB / 0.8385 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.2943, allocations: 32 kB / 0.8385 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.2943, allocations: 20 kB / 0.8385 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.2958, allocations: 0.7728 MB / 0.8393 GB, free: 6.219 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.005575/0.3014, allocations: 5.003 MB / 0.8442 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3027, allocations: 0.64 MB / 0.8448 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002579/0.3053, allocations: 1.882 MB / 0.8467 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000728/0.306, allocations: 367 kB / 0.847 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003482/0.3064, allocations: 95.47 kB / 0.8471 GB, free: 13.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.3064, allocations: 0 / 0.8471 GB, free: 13.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.003514/0.3099, allocations: 1.365 MB / 0.8484 GB, free: 12.36 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.31, allocations: 55.41 kB / 0.8485 GB, free: 12.29 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.3115, allocations: 1.328 MB / 0.8498 GB, free: 10.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.3115, allocations: 41.7 kB / 0.8498 GB, free: 10.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.312, allocations: 0.6371 MB / 0.8504 GB, free: 10.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3121, allocations: 153.9 kB / 0.8506 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3122, allocations: 12 kB / 0.8506 GB, free: 10.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3123, allocations: 338 kB / 0.8509 GB, free: 9.754 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.3129, allocations: 261.8 kB / 0.8512 GB, free: 9.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.3137, allocations: 0.6207 MB / 0.8518 GB, free: 8.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.3144, allocations: 366.2 kB / 0.8521 GB, free: 8.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3144, allocations: 4 kB / 0.8521 GB, free: 8.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002322/0.3168, allocations: 1.133 MB / 0.8532 GB, free: 7.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.3179, allocations: 3.119 MB / 0.8563 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.318, allocations: 8 kB / 0.8563 GB, free: 3.871 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.3188, allocations: 236.6 kB / 0.8565 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.3194, allocations: 147.8 kB / 0.8567 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.3203, allocations: 0.8604 MB / 0.8575 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3214, allocations: 96.48 kB / 0.8576 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.3215, allocations: 47.97 kB / 0.8576 GB, free: 2.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3215, allocations: 4 kB / 0.8576 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/0.323, allocations: 0.8556 MB / 0.8585 GB, free: 1.598 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3231, allocations: 11.98 kB / 0.8585 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.3234, allocations: 149.2 kB / 0.8586 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.3239, allocations: 139.8 kB / 0.8588 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.3263, allocations: 2.388 MB / 0.8611 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.3272, allocations: 84.69 kB / 0.8612 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3272, allocations: 39.94 kB / 0.8612 GB, free: 14.64 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (72): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.3279, allocations: 475.5 kB / 0.8617 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.328, allocations: 130.4 kB / 0.8618 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.3299, allocations: 0.9508 MB / 0.8627 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3299, allocations: 4 kB / 0.8627 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3299, allocations: 0 / 0.8627 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.3314, allocations: 0.9349 MB / 0.8636 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.3344, allocations: 1.951 MB / 0.8655 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3344, allocations: 3.984 kB / 0.8655 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.3348, allocations: 87.94 kB / 0.8656 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.3351, allocations: 152.7 kB / 0.8658 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3352, allocations: 11.98 kB / 0.8658 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.3358, allocations: 0.8244 MB / 0.8666 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3358, allocations: 4 kB / 0.8666 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.3381, allocations: 1.307 MB / 0.8679 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.3386, allocations: 295.2 kB / 0.8682 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.3387, allocations: 8 kB / 0.8682 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.3394, allocations: 79.89 kB / 0.8682 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3395, allocations: 44.33 kB / 0.8683 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.3396, allocations: 23.98 kB / 0.8683 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001123/0.3407, allocations: 0.9128 MB / 0.8692 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3407, allocations: 0 / 0.8692 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001815/0.3425, allocations: 0.6824 MB / 0.8699 GB, free: 5.52 MB / 0.6856 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007309/0.3433, allocations: 379.5 kB / 0.8702 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002744/0.346, allocations: 1.398 MB / 0.8716 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.346, allocations: 0 / 0.8716 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.3468, allocations: 354.9 kB / 0.8719 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.3491, allocations: 0.5771 MB / 0.8725 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.3528, allocations: 2.705 MB / 0.8751 GB, free: 52 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.3536, allocations: 1.303 MB / 0.8764 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001045/0.3546, allocations: 306.4 kB / 0.8767 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.3549, allocations: 107.4 kB / 0.8768 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.3549, allocations: 0 / 0.8768 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of Templates: time 0.03767/0.3925, allocations: 25.44 MB / 0.9016 GB, free: 5.191 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: