Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001026/0.001026, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 269.8 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 16.34 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.4753/0.6123, allocations: 216.6 MB / 0.896 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.6303, allocations: 14.74 MB / 0.9104 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.6318, allocations: 55.62 kB / 0.9105 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.6336, allocations: 0.6559 MB / 0.9111 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.6388, allocations: 2.138 MB / 0.9132 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.6421, allocations: 1.253 MB / 0.9144 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004254/0.6463, allocations: 3.963 MB / 0.9183 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.6476, allocations: 0.9379 MB / 0.9192 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.6516, allocations: 1.91 MB / 0.9211 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.6529, allocations: 1.011 MB / 0.9221 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.6531, allocations: 47.94 kB / 0.9221 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.657, allocations: 1.902 MB / 0.924 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.6574, allocations: 394.5 kB / 0.9243 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.6578, allocations: 328.9 kB / 0.9247 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.6601, allocations: 2.027 MB / 0.9266 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6601, allocations: 4 kB / 0.9266 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6601, allocations: 0 / 0.9266 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.6601, allocations: 3.938 kB / 0.9266 GB, free: 8.23 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002866/0.663, allocations: 1.729 MB / 0.9283 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.6631, allocations: 8.031 kB / 0.9283 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.6656, allocations: 0.5366 MB / 0.9289 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.6676, allocations: 1.076 MB / 0.9299 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008053/0.6684, allocations: 279.7 kB / 0.9302 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.6685, allocations: 103.9 kB / 0.9303 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.6708, allocations: 1.322 MB / 0.9316 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.6708, allocations: 4 kB / 0.9316 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.671, allocations: 40 kB / 0.9316 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/0.671, allocations: 49.98 kB / 0.9317 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.6733, allocations: 1.108 MB / 0.9327 GB, free: 1.781 MB / 0.6387 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.006845/0.6802, allocations: 6.651 MB / 0.9392 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6818, allocations: 0.5933 MB / 0.9398 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.6825, allocations: 289.2 kB / 0.9401 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.6828, allocations: 283.6 kB / 0.9404 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6829, allocations: 38.84 kB / 0.9404 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.6829, allocations: 0 / 0.9404 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002285/0.6852, allocations: 0.9067 MB / 0.9413 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.6852, allocations: 51.41 kB / 0.9413 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.687, allocations: 1.358 MB / 0.9427 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.687, allocations: 37.7 kB / 0.9427 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.6876, allocations: 0.6756 MB / 0.9434 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.6877, allocations: 122.3 kB / 0.9435 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.6877, allocations: 16 kB / 0.9435 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6878, allocations: 326 kB / 0.9438 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/0.6887, allocations: 333 kB / 0.9441 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6897, allocations: 0.6379 MB / 0.9447 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.6906, allocations: 393.4 kB / 0.9451 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6906, allocations: 4 kB / 0.9451 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002914/0.6935, allocations: 1.038 MB / 0.9461 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.6937, allocations: 358 kB / 0.9465 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.6938, allocations: 12 kB / 0.9465 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.6938, allocations: 16 kB / 0.9465 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.6946, allocations: 212.5 kB / 0.9467 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.6947, allocations: 15.94 kB / 0.9467 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6959, allocations: 230.5 kB / 0.9469 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.696, allocations: 43.98 kB / 0.947 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.696, allocations: 4 kB / 0.947 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/0.698, allocations: 0.8784 MB / 0.9478 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.698, allocations: 16.12 kB / 0.9479 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.698, allocations: 15.95 kB / 0.9479 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.6988, allocations: 207.7 kB / 0.9481 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6988, allocations: 15.94 kB / 0.9481 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.6999, allocations: 199 kB / 0.9483 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.7, allocations: 39.98 kB / 0.9483 GB, free: 0.9883 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005339/0.7005, allocations: 413.4 kB / 0.9487 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.7007, allocations: 138.3 kB / 0.9488 GB, free: 448 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7023, allocations: 0.6869 MB / 0.9495 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.7023, allocations: 4 kB / 0.9495 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7023, allocations: 0 / 0.9495 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7023, allocations: 3.984 kB / 0.9495 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.7056, allocations: 1.94 MB / 0.9514 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7056, allocations: 0 / 0.9514 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.7062, allocations: 108 kB / 0.9515 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.7062, allocations: 4 kB / 0.9515 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.7062, allocations: 12 kB / 0.9515 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.7062, allocations: 15.92 kB / 0.9516 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7063, allocations: 7.953 kB / 0.9516 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.7077, allocations: 0.8423 MB / 0.9524 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.7081, allocations: 283.2 kB / 0.9527 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.7083, allocations: 12.09 kB / 0.9527 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.7092, allocations: 115.8 kB / 0.9528 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.7093, allocations: 39.89 kB / 0.9528 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.7094, allocations: 19.98 kB / 0.9528 GB, free: 12.15 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00128/0.7107, allocations: 0.9317 MB / 0.9537 GB, free: 11.22 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.693e-06/0.7107, allocations: 0 / 0.9537 GB, free: 11.22 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001497/0.7122, allocations: 0.577 MB / 0.9543 GB, free: 10.64 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/0.7127, allocations: 266.9 kB / 0.9546 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.7153, allocations: 1.143 MB / 0.9557 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7153, allocations: 0 / 0.9557 GB, free: 9.234 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.716, allocations: 272.9 kB / 0.9559 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7187, allocations: 0.6344 MB / 0.9566 GB, free: 8.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.7232, allocations: 2.645 MB / 0.9591 GB, free: 5.613 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.7239, allocations: 1.189 MB / 0.9603 GB, free: 4.395 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001417/0.7254, allocations: 342.7 kB / 0.9606 GB, free: 4.055 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.7256, allocations: 91.42 kB / 0.9607 GB, free: 3.965 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.7256, allocations: 0 / 0.9607 GB, free: 3.965 MB / 0.67 GB Notification: Performance of Templates: time 0.03361/0.7592, allocations: 21.43 MB / 0.9816 GB, free: 14.86 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)