Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.489/2.489, allocations: 287.5 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 184.8 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009363, allocations: 86.36 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006395/0.0006397, allocations: 12.09 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2204, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.555, allocations: 404.3 MB / 1.374 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004636/1.555, allocations: 99.45 kB / 1.374 GB, free: 8.98 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.873/4.428, allocations: 476.8 MB / 1.84 GB, free: 236.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.334e-06/4.429, allocations: 0 / 1.84 GB, free: 236.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002353/4.429, allocations: 44.55 kB / 1.84 GB, free: 236.9 MB / 0.948 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.006922/4.436, allocations: 1.944 MB / 1.842 GB, free: 236.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/4.436, allocations: 10.06 kB / 1.842 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/4.438, allocations: 238.1 kB / 1.842 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006629/4.444, allocations: 1.935 MB / 1.844 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/4.444, allocations: 66.88 kB / 1.844 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/4.445, allocations: 91.88 kB / 1.844 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/4.447, allocations: 0.9611 MB / 1.845 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/4.447, allocations: 8.062 kB / 1.845 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/4.447, allocations: 38.22 kB / 1.845 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/4.447, allocations: 19.7 kB / 1.845 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/4.45, allocations: 0.7032 MB / 1.846 GB, free: 235.4 MB / 0.948 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.007951/4.458, allocations: 4.713 MB / 1.85 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/4.459, allocations: 0.5886 MB / 1.851 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/4.461, allocations: 325.2 kB / 1.851 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003717/4.464, allocations: 1.693 MB / 1.853 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009655/4.465, allocations: 336.2 kB / 1.853 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007815/4.466, allocations: 111.8 kB / 1.853 GB, free: 231.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 4.509e-06/4.466, allocations: 3.531 kB / 1.853 GB, free: 231.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.004839/4.471, allocations: 1.174 MB / 1.854 GB, free: 231.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/4.471, allocations: 65.66 kB / 1.855 GB, free: 231.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/4.473, allocations: 1.247 MB / 1.856 GB, free: 231.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/4.473, allocations: 42.58 kB / 1.856 GB, free: 231.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/4.474, allocations: 0.6477 MB / 1.856 GB, free: 231.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/4.474, allocations: 152.7 kB / 1.857 GB, free: 231 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/4.474, allocations: 13.97 kB / 1.857 GB, free: 231 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/4.474, allocations: 334.1 kB / 1.857 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/4.475, allocations: 238.4 kB / 1.857 GB, free: 230.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/4.476, allocations: 0.5818 MB / 1.858 GB, free: 230.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/4.478, allocations: 0.7708 MB / 1.858 GB, free: 230 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/4.478, allocations: 3.906 kB / 1.858 GB, free: 230 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003321/4.481, allocations: 1.041 MB / 1.859 GB, free: 229.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/4.482, allocations: 342.4 kB / 1.86 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/4.482, allocations: 9.969 kB / 1.86 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009417/4.483, allocations: 177 kB / 1.86 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/4.484, allocations: 144.8 kB / 1.86 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009698/4.485, allocations: 0.778 MB / 1.861 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/4.486, allocations: 78.17 kB / 1.861 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/4.486, allocations: 40.73 kB / 1.861 GB, free: 228.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/4.486, allocations: 6.656 kB / 1.861 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/4.489, allocations: 0.9122 MB / 1.862 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/4.489, allocations: 13.84 kB / 1.862 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/4.489, allocations: 100.8 kB / 1.862 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/4.49, allocations: 146.9 kB / 1.862 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/4.493, allocations: 2.21 MB / 1.864 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/4.494, allocations: 77.97 kB / 1.864 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/4.494, allocations: 36.02 kB / 1.864 GB, free: 227.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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.0009865/4.495, allocations: 479.8 kB / 1.865 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/4.496, allocations: 131.4 kB / 1.865 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/4.499, allocations: 0.8811 MB / 1.866 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/4.499, allocations: 6.156 kB / 1.866 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/4.499, allocations: 7.5 kB / 1.866 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/4.501, allocations: 0.884 MB / 1.867 GB, free: 226.5 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004751/4.505, allocations: 1.877 MB / 1.869 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/4.505, allocations: 0 / 1.869 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/4.506, allocations: 88.17 kB / 1.869 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/4.507, allocations: 118.5 kB / 1.869 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/4.507, allocations: 14.05 kB / 1.869 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007407/4.507, allocations: 0.7557 MB / 1.869 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/4.507, allocations: 3.406 kB / 1.869 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/4.511, allocations: 1.208 MB / 1.871 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/4.511, allocations: 266.8 kB / 1.871 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/4.512, allocations: 13.78 kB / 1.871 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/4.513, allocations: 66.64 kB / 1.871 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/4.513, allocations: 36.75 kB / 1.871 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/4.513, allocations: 21.61 kB / 1.871 GB, free: 225.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00161/4.515, allocations: 0.8584 MB / 1.872 GB, free: 225 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/4.515, allocations: 6.5 kB / 1.872 GB, free: 225 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002986/4.518, allocations: 0.7101 MB / 1.873 GB, free: 224.9 MB / 0.948 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 (41): * Single equations (assignments): 35 * 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.001743/4.519, allocations: 0.7585 MB / 1.873 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00384/4.523, allocations: 1.305 MB / 1.875 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/4.523, allocations: 3.75 kB / 1.875 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/4.525, allocations: 332.5 kB / 1.875 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/4.529, allocations: 0.5603 MB / 1.875 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/4.534, allocations: 2.671 MB / 1.878 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/4.535, allocations: 1.269 MB / 1.879 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002052/4.537, allocations: 312 kB / 1.88 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/4.537, allocations: 99.58 kB / 1.88 GB, free: 222.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/4.538, allocations: 0 / 1.88 GB, free: 222.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06592/4.603, allocations: 27.4 MB / 1.906 GB, free: 221.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)