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.001096/0.001096, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001177/0.001178, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.305/1.305, allocations: 222.9 MB / 241 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.00217/0.002171, allocations: 299.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 94.25 kB / 0.5966 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1455, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.465/0.6105, allocations: 237.5 MB / 0.9136 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.63, allocations: 15.78 MB / 0.929 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.6318, allocations: 63.62 kB / 0.929 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.6342, allocations: 1.033 MB / 0.93 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006488/0.6407, allocations: 2.975 MB / 0.9329 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.6444, allocations: 1.693 MB / 0.9346 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004102/0.6485, allocations: 3.441 MB / 0.938 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.6501, allocations: 1.288 MB / 0.9392 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.6555, allocations: 2.492 MB / 0.9416 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.6575, allocations: 1.085 MB / 0.9427 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.6578, allocations: 116 kB / 0.9428 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.6632, allocations: 3.094 MB / 0.9458 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004955/0.6637, allocations: 474.4 kB / 0.9463 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.6648, allocations: 0.8123 MB / 0.9471 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.6695, allocations: 2.98 MB / 0.95 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6695, allocations: 0 / 0.95 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6695, allocations: 0 / 0.95 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.6695, allocations: 0 / 0.95 GB, free: 11.29 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003397/0.6729, allocations: 2.007 MB / 0.952 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.673, allocations: 8.031 kB / 0.952 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.6756, allocations: 0.4984 MB / 0.9524 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.6779, allocations: 1.168 MB / 0.9536 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.678, allocations: 81.98 kB / 0.9537 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.6781, allocations: 92 kB / 0.9538 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.6803, allocations: 1.357 MB / 0.9551 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.6804, allocations: 7.922 kB / 0.9551 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.6805, allocations: 47.98 kB / 0.9551 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.6805, allocations: 42 kB / 0.9552 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.6828, allocations: 1.054 MB / 0.9562 GB, free: 4.699 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.2487/0.9314, allocations: 7.38 MB / 0.9634 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.933, allocations: 0.5374 MB / 0.9639 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.9336, allocations: 257.7 kB / 0.9642 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.9339, allocations: 288.1 kB / 0.9645 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.9339, allocations: 36.55 kB / 0.9645 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.934, allocations: 0 / 0.9645 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002299/0.9363, allocations: 0.8408 MB / 0.9653 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.9363, allocations: 55.03 kB / 0.9654 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.9381, allocations: 1.389 MB / 0.9667 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.9382, allocations: 45.73 kB / 0.9668 GB, free: 246.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.9386, allocations: 0.7002 MB / 0.9674 GB, free: 245.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.9387, allocations: 120 kB / 0.9676 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.939, allocations: 163.7 kB / 0.9677 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.939, allocations: 337.5 kB / 0.968 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.9398, allocations: 313 kB / 0.9683 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/0.9408, allocations: 0.6874 MB / 0.969 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.9423, allocations: 0.9351 MB / 0.9699 GB, free: 244 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.9423, allocations: 3.719 kB / 0.9699 GB, free: 244 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002174/0.9445, allocations: 1.048 MB / 0.9709 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9445, allocations: 9.469 kB / 0.971 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.9446, allocations: 12.14 kB / 0.971 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.9446, allocations: 16.97 kB / 0.971 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/0.9454, allocations: 206.9 kB / 0.9712 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.9455, allocations: 21.36 kB / 0.9712 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.9467, allocations: 179.8 kB / 0.9714 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.9468, allocations: 51.06 kB / 0.9714 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.9478, allocations: 0.5658 MB / 0.972 GB, free: 243.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009021/0.9488, allocations: 0.6829 MB / 0.9726 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001439/0.9502, allocations: 0.9311 MB / 0.9735 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.243e-06/0.9502, allocations: 7.188 kB / 0.9736 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002134/0.9524, allocations: 1.045 MB / 0.9746 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.9524, allocations: 9.25 kB / 0.9746 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9524, allocations: 11.53 kB / 0.9746 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9524, allocations: 16.12 kB / 0.9746 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.9532, allocations: 201.2 kB / 0.9748 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.9533, allocations: 26.45 kB / 0.9748 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9544, allocations: 133.8 kB / 0.975 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.9545, allocations: 47.38 kB / 0.975 GB, free: 241.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.9547, allocations: 236.2 kB / 0.9752 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.9549, allocations: 138.1 kB / 0.9754 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.9564, allocations: 0.6405 MB / 0.976 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9564, allocations: 8.031 kB / 0.976 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9564, allocations: 0 / 0.976 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9565, allocations: 2.797 kB / 0.976 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.9598, allocations: 1.893 MB / 0.9778 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.9598, allocations: 4.344 kB / 0.9778 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.9603, allocations: 94.52 kB / 0.9779 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.9603, allocations: 5.906 kB / 0.9779 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.9604, allocations: 10.47 kB / 0.978 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.9604, allocations: 14.5 kB / 0.978 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.9604, allocations: 11.5 kB / 0.978 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.9618, allocations: 0.7999 MB / 0.9788 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.9622, allocations: 300.1 kB / 0.979 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.9624, allocations: 11.25 kB / 0.9791 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.9634, allocations: 67.75 kB / 0.9791 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.9635, allocations: 33.45 kB / 0.9792 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.9636, allocations: 23.77 kB / 0.9792 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001409/0.965, allocations: 1.008 MB / 0.9802 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.965, allocations: 0 / 0.9802 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001754/0.9668, allocations: 0.5745 MB / 0.9807 GB, free: 239 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004913/0.9673, allocations: 274.2 kB / 0.981 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.9698, allocations: 1.136 MB / 0.9821 GB, free: 238.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9698, allocations: 2.375 kB / 0.9821 GB, free: 238.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.9704, allocations: 251.1 kB / 0.9823 GB, free: 238.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.9733, allocations: 0.7432 MB / 0.9831 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.9774, allocations: 2.24 MB / 0.9852 GB, free: 237.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.9781, allocations: 1.184 MB / 0.9864 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001256/0.9793, allocations: 385.2 kB / 0.9868 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.9796, allocations: 94.06 kB / 0.9869 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.222e-06/0.9796, allocations: 0 / 0.9869 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.03568/1.015, allocations: 25.01 MB / 1.011 GB, free: 224.6 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)