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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8511/0.8511, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.9 kB / 187.3 MB, free: 11.91 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 441.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 91.53 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 288.5 kB / 0.594 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.145e-05, allocations: 4 kB / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4802, allocations: 82.76 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.312, allocations: 379.2 MB / 1.135 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.312, allocations: 99.38 kB / 1.135 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.586/10.9, allocations: 2.317 GB / 3.451 GB, free: 71.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/10.9, allocations: 0 / 3.451 GB, free: 71.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001972/10.9, allocations: 253.6 kB / 3.451 GB, free: 71.19 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03277/10.93, allocations: 7.311 MB / 3.459 GB, free: 68.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/10.93, allocations: 7.656 kB / 3.459 GB, free: 68.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00994/10.94, allocations: 1.226 MB / 3.46 GB, free: 67.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05306/11, allocations: 12.54 MB / 3.472 GB, free: 66.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006772/11, allocations: 443.9 kB / 3.473 GB, free: 66.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004071/11, allocations: 0.5801 MB / 3.473 GB, free: 66.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/11.03, allocations: 13.46 MB / 3.486 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000264/11.03, allocations: 26.31 kB / 3.486 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002646/11.04, allocations: 240.6 kB / 3.486 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/11.04, allocations: 138.8 kB / 3.487 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/11.06, allocations: 18.07 MB / 3.504 GB, free: 65.81 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.1068/11.17, allocations: 55.39 MB / 3.558 GB, free: 47.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/11.18, allocations: 8.692 MB / 3.567 GB, free: 47.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01339/11.2, allocations: 9.263 MB / 3.576 GB, free: 46.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05461/11.25, allocations: 26.3 MB / 3.602 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01091/11.26, allocations: 7.307 MB / 3.609 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04954/11.31, allocations: 21.17 MB / 3.629 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 3.893e-05/11.31, allocations: 0 / 3.629 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.03022/11.34, allocations: 14.5 MB / 3.644 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/11.34, allocations: 89.78 kB / 3.644 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.648/11.99, allocations: 7.391 MB / 3.651 GB, free: 73.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002828/11.99, allocations: 103.6 kB / 3.651 GB, free: 73.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.006793/12, allocations: 4.003 MB / 3.655 GB, free: 73.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003792/12, allocations: 1.086 MB / 3.656 GB, free: 73.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/12.01, allocations: 89.5 kB / 3.656 GB, free: 73.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004963/12.01, allocations: 492.3 kB / 3.656 GB, free: 72.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/12.02, allocations: 6.081 MB / 3.662 GB, free: 72.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/12.03, allocations: 7.889 MB / 3.67 GB, free: 70.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/12.04, allocations: 6.994 MB / 3.677 GB, free: 70.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.319e-05/12.04, allocations: 16.31 kB / 3.677 GB, free: 70.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03909/12.08, allocations: 16.35 MB / 3.693 GB, free: 69.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.005513/12.09, allocations: 25.25 MB / 3.718 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/12.09, allocations: 46.97 kB / 3.718 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06211/12.15, allocations: 10.89 MB / 3.728 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009293/12.16, allocations: 1.603 MB / 3.73 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/12.17, allocations: 6.324 MB / 3.736 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01532/12.18, allocations: 0.5959 MB / 3.737 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003696/12.19, allocations: 0.5444 MB / 3.737 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/12.19, allocations: 3.75 kB / 3.737 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03384/12.22, allocations: 15.71 MB / 3.752 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/12.22, allocations: 47.03 kB / 3.752 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06189/12.28, allocations: 10.62 MB / 3.763 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009191/12.29, allocations: 1.608 MB / 3.764 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/12.31, allocations: 10.19 MB / 3.774 GB, free: 50.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/12.32, allocations: 0.5746 MB / 3.775 GB, free: 50.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003389/12.32, allocations: 0.5356 MB / 3.775 GB, free: 50.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.00395/12.33, allocations: 398.8 kB / 3.776 GB, free: 50.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003864/12.33, allocations: 0.7543 MB / 3.777 GB, free: 50.33 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/12.36, allocations: 13.47 MB / 3.79 GB, free: 49.83 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/12.36, allocations: 41.52 kB / 3.79 GB, free: 49.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/12.36, allocations: 0 / 3.79 GB, free: 49.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01359/12.37, allocations: 10.06 MB / 3.8 GB, free: 49.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04251/12.42, allocations: 23.72 MB / 3.823 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/12.42, allocations: 0 / 3.823 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005195/12.42, allocations: 0.6985 MB / 3.823 GB, free: 46.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06097/12.48, allocations: 9.941 MB / 3.833 GB, free: 45.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/12.48, allocations: 102.1 kB / 3.833 GB, free: 45.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/12.49, allocations: 4.305 MB / 3.837 GB, free: 42.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/12.49, allocations: 5 kB / 3.837 GB, free: 42.53 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/12.52, allocations: 18.22 MB / 3.855 GB, free: 36.32 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009223/12.53, allocations: 1.995 MB / 3.857 GB, free: 35.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00429/12.53, allocations: 75.39 kB / 3.857 GB, free: 35.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009597/12.54, allocations: 425.2 kB / 3.858 GB, free: 35.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/12.54, allocations: 218.8 kB / 3.858 GB, free: 35.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007487/12.54, allocations: 157.9 kB / 3.858 GB, free: 35.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01521/12.56, allocations: 5.737 MB / 3.864 GB, free: 33.37 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.002e-06/12.56, allocations: 0 / 3.864 GB, free: 33.37 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02891/12.59, allocations: 4.918 MB / 3.868 GB, free: 32.91 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005626/12.59, allocations: 1.287 MB / 3.87 GB, free: 32.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04525/12.64, allocations: 23.49 MB / 3.893 GB, free: 18.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/12.64, allocations: 4 kB / 3.893 GB, free: 18.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/12.65, allocations: 6.092 MB / 3.899 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02557/12.68, allocations: 4.606 MB / 3.903 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04845/12.72, allocations: 18.05 MB / 3.921 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007055/12.73, allocations: 5.384 MB / 3.926 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.03495/12.77, allocations: 7.922 MB / 3.934 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005415/12.77, allocations: 0.767 MB / 3.934 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of SimCode: time 1.443e-06/12.77, allocations: 3.938 kB / 3.934 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of Templates: time 0.916/13.69, allocations: 227.5 MB / 4.157 GB, free: 26.94 MB / 0.7761 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)