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.001357/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001376/0.001376, allocations: 193.4 kB / 16.25 MB, free: 6.637 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002687/0.002687, allocations: 290.8 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 178.6 MB / 0.5069 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 98.39 kB / 0.6059 GB, free: 25.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 89.16 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5219/0.6994, allocations: 234.7 MB / 0.9221 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.7223, allocations: 15.69 MB / 0.9374 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.7251, allocations: 59.62 kB / 0.9375 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.7282, allocations: 0.9057 MB / 0.9384 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/0.7359, allocations: 2.803 MB / 0.9411 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.74, allocations: 1.53 MB / 0.9426 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004786/0.7448, allocations: 3.442 MB / 0.946 GB, free: 8.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.7467, allocations: 1.252 MB / 0.9472 GB, free: 7.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006384/0.7531, allocations: 2.481 MB / 0.9496 GB, free: 5.004 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.7561, allocations: 1.157 MB / 0.9508 GB, free: 3.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.7564, allocations: 124 kB / 0.9509 GB, free: 3.738 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006071/0.7625, allocations: 3.262 MB / 0.9541 GB, free: 480 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007256/0.7633, allocations: 486.5 kB / 0.9545 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.7645, allocations: 0.8123 MB / 0.9553 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.7695, allocations: 3.143 MB / 0.9584 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7696, allocations: 0 / 0.9584 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7696, allocations: 0 / 0.9584 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.7696, allocations: 0 / 0.9584 GB, free: 12.02 MB / 0.6856 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.003862/0.7735, allocations: 2.008 MB / 0.9603 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7735, allocations: 8.031 kB / 0.9604 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.7764, allocations: 0.5025 MB / 0.9608 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.7786, allocations: 1.125 MB / 0.9619 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009289/0.7796, allocations: 241.8 kB / 0.9622 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7797, allocations: 96 kB / 0.9623 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.7824, allocations: 1.318 MB / 0.9636 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.7824, allocations: 3.938 kB / 0.9636 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.7826, allocations: 44 kB / 0.9636 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.7826, allocations: 38 kB / 0.9636 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.7853, allocations: 1.077 MB / 0.9647 GB, free: 5.371 MB / 0.6856 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.008927/0.7942, allocations: 6.617 MB / 0.9712 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.7961, allocations: 0.5621 MB / 0.9717 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/0.7968, allocations: 277.1 kB / 0.972 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.7973, allocations: 291.4 kB / 0.9722 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.7973, allocations: 38.84 kB / 0.9723 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.7973, allocations: 4 kB / 0.9723 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002577/0.7999, allocations: 0.8595 MB / 0.9731 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.8, allocations: 51.41 kB / 0.9732 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.802, allocations: 1.362 MB / 0.9745 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.8021, allocations: 37.7 kB / 0.9745 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/0.8028, allocations: 0.6834 MB / 0.9752 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8029, allocations: 122.3 kB / 0.9753 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.8032, allocations: 158 kB / 0.9755 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.8034, allocations: 329.9 kB / 0.9758 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/0.8043, allocations: 311.2 kB / 0.9761 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.8055, allocations: 0.6301 MB / 0.9767 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.8074, allocations: 0.8479 MB / 0.9775 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.8074, allocations: 7.984 kB / 0.9775 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002558/0.81, allocations: 0.9996 MB / 0.9785 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.81, allocations: 8 kB / 0.9785 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.81, allocations: 12 kB / 0.9785 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.8101, allocations: 12 kB / 0.9785 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.811, allocations: 197.3 kB / 0.9787 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.811, allocations: 19.94 kB / 0.9787 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8124, allocations: 206.8 kB / 0.9789 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.8125, allocations: 39.98 kB / 0.979 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.8138, allocations: 0.5675 MB / 0.9795 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001174/0.815, allocations: 0.6223 MB / 0.9801 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001888/0.8169, allocations: 0.8548 MB / 0.981 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.8169, allocations: 0 / 0.981 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002434/0.8194, allocations: 0.9956 MB / 0.982 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.8194, allocations: 16.06 kB / 0.982 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8194, allocations: 15.94 kB / 0.982 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8194, allocations: 12 kB / 0.982 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.8203, allocations: 192.2 kB / 0.9822 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/0.8203, allocations: 23.92 kB / 0.9822 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.8216, allocations: 148.2 kB / 0.9823 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.8217, allocations: 43.98 kB / 0.9824 GB, free: 2.113 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.822, allocations: 224.7 kB / 0.9826 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8223, allocations: 142.2 kB / 0.9827 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.8241, allocations: 0.6644 MB / 0.9834 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8241, allocations: 4 kB / 0.9834 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8242, allocations: 4 kB / 0.9834 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8242, allocations: 0 / 0.9834 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.8281, allocations: 1.935 MB / 0.9853 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8281, allocations: 4 kB / 0.9853 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.8286, allocations: 99.95 kB / 0.9854 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.8287, allocations: 4 kB / 0.9854 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.8287, allocations: 12 kB / 0.9854 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.8287, allocations: 11.92 kB / 0.9854 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.249e-05/0.8288, allocations: 4 kB / 0.9854 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.8305, allocations: 0.8235 MB / 0.9862 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.831, allocations: 299.1 kB / 0.9865 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.8312, allocations: 8 kB / 0.9865 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.8323, allocations: 103.8 kB / 0.9866 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.8324, allocations: 31.84 kB / 0.9866 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.8325, allocations: 23.98 kB / 0.9867 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001506/0.8341, allocations: 0.9925 MB / 0.9876 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8341, allocations: 0 / 0.9876 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001738/0.8358, allocations: 0.5733 MB / 0.9882 GB, free: 11.95 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.0006525/0.8365, allocations: 262.6 kB / 0.9884 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.8394, allocations: 1.101 MB / 0.9895 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8394, allocations: 4.062 kB / 0.9895 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.8402, allocations: 262.1 kB / 0.9898 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.8435, allocations: 0.7514 MB / 0.9905 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.8488, allocations: 2.687 MB / 0.9931 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.8497, allocations: 1.186 MB / 0.9943 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001506/0.8512, allocations: 363.4 kB / 0.9946 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.8515, allocations: 95.41 kB / 0.9947 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8515, allocations: 0 / 0.9947 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.04344/0.8949, allocations: 24.69 MB / 1.019 GB, free: 12.82 MB / 0.7481 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)