Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 287.5 MB / 303.2 MB, free: 8.289 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.001378/0.001378, allocations: 176.5 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.069/2.069, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009327/0.0009323, allocations: 94.55 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 12 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.5, allocations: 421.7 MB / 1.391 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.5, allocations: 102.1 kB / 1.391 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 12.53/14.03, allocations: 2.263 GB / 3.655 GB, free: 139.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.216e-06/14.03, allocations: 0 / 3.655 GB, free: 139.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002151/14.03, allocations: 252.5 kB / 3.655 GB, free: 139.6 MB / 0.9792 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.05619/14.09, allocations: 9.385 MB / 3.664 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/14.09, allocations: 8.75 kB / 3.664 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/14.1, allocations: 1.232 MB / 3.665 GB, free: 135.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04697/14.15, allocations: 12.2 MB / 3.677 GB, free: 134.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006977/14.15, allocations: 441.3 kB / 3.677 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003637/14.15, allocations: 0.5797 MB / 3.678 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/14.19, allocations: 13.68 MB / 3.691 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003844/14.19, allocations: 24.81 kB / 3.691 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003511/14.2, allocations: 246.2 kB / 3.692 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/14.2, allocations: 135.6 kB / 3.692 GB, free: 133.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04338/14.24, allocations: 18.34 MB / 3.71 GB, free: 133.4 MB / 0.9792 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.1434/14.38, allocations: 55.15 MB / 3.764 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/14.4, allocations: 8.861 MB / 3.772 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01957/14.42, allocations: 9.37 MB / 3.781 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07712/14.5, allocations: 26.16 MB / 3.807 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01761/14.52, allocations: 7.422 MB / 3.814 GB, free: 107 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09395/14.61, allocations: 21.13 MB / 3.835 GB, free: 105 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.313e-05/14.61, allocations: 0 / 3.835 GB, free: 105 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.08068/14.69, allocations: 23 MB / 3.857 GB, free: 97.02 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/14.69, allocations: 82.03 kB / 3.857 GB, free: 96.95 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01883/14.71, allocations: 7.789 MB / 3.865 GB, free: 94.53 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002436/14.71, allocations: 102.7 kB / 3.865 GB, free: 94.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005692/14.72, allocations: 3.994 MB / 3.869 GB, free: 91.37 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003543/14.72, allocations: 1.084 MB / 3.87 GB, free: 90.54 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/14.72, allocations: 93.25 kB / 3.87 GB, free: 90.47 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004011/14.72, allocations: 488.7 kB / 3.871 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01477/14.74, allocations: 6.189 MB / 3.877 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01608/14.76, allocations: 8.026 MB / 3.884 GB, free: 78.83 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03299/14.79, allocations: 14.58 MB / 3.899 GB, free: 65.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.007e-05/14.79, allocations: 19.94 kB / 3.899 GB, free: 65.58 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05238/14.84, allocations: 16.69 MB / 3.915 GB, free: 52.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009326/14.84, allocations: 1.542 MB / 3.917 GB, free: 49.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/14.84, allocations: 44 kB / 3.917 GB, free: 49.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1351/14.98, allocations: 11.04 MB / 3.927 GB, free: 41.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01575/14.99, allocations: 1.609 MB / 3.929 GB, free: 39.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/15.01, allocations: 6.323 MB / 3.935 GB, free: 33.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01877/15.03, allocations: 0.5768 MB / 3.936 GB, free: 32.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/15.03, allocations: 0.5421 MB / 3.936 GB, free: 31.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/15.03, allocations: 10.5 kB / 3.936 GB, free: 31.88 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04749/15.08, allocations: 15.92 MB / 3.952 GB, free: 16.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/15.08, allocations: 44 kB / 3.952 GB, free: 16.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1322/15.21, allocations: 10.62 MB / 3.962 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/15.23, allocations: 1.603 MB / 3.964 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/15.25, allocations: 10.22 MB / 3.974 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/15.27, allocations: 0.5498 MB / 3.974 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003385/15.27, allocations: 0.5382 MB / 3.975 GB, free: 8.371 MB / 0.9948 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 () * Number of clocked 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.01094/15.28, allocations: 2.639 MB / 3.977 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004775/15.29, allocations: 0.7564 MB / 3.978 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8212/16.11, allocations: 13.64 MB / 3.991 GB, free: 152 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-05/16.11, allocations: 41.28 kB / 3.991 GB, free: 152 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/16.11, allocations: 3.531 kB / 3.991 GB, free: 152 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03195/16.14, allocations: 10.25 MB / 4.001 GB, free: 151.5 MB / 0.9948 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.06388/16.2, allocations: 23.82 MB / 4.025 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/16.2, allocations: 1.25 kB / 4.025 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01005/16.21, allocations: 0.6992 MB / 4.025 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1326/16.35, allocations: 9.935 MB / 4.035 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001378/16.35, allocations: 104.6 kB / 4.035 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/16.36, allocations: 4.316 MB / 4.039 GB, free: 145.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/16.36, allocations: 1.969 kB / 4.039 GB, free: 145.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04496/16.4, allocations: 18.43 MB / 4.057 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008849/16.41, allocations: 1.904 MB / 4.059 GB, free: 145.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00449/16.41, allocations: 75.5 kB / 4.059 GB, free: 145.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01312/16.43, allocations: 403.9 kB / 4.06 GB, free: 145.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001714/16.43, allocations: 222.4 kB / 4.06 GB, free: 145.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001326/16.43, allocations: 157.2 kB / 4.06 GB, free: 145.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01459/16.44, allocations: 5.332 MB / 4.065 GB, free: 144.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.41e-07/16.44, allocations: 0 / 4.065 GB, free: 144.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03003/16.47, allocations: 4.866 MB / 4.07 GB, free: 144.8 MB / 0.9948 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) * Number of clocked states: 0 () * 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.004629/16.48, allocations: 1.238 MB / 4.071 GB, free: 144.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06074/16.54, allocations: 23.57 MB / 4.094 GB, free: 143.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/16.54, allocations: 6.5 kB / 4.094 GB, free: 143.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/16.56, allocations: 6.189 MB / 4.1 GB, free: 143.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04435/16.6, allocations: 4.595 MB / 4.105 GB, free: 143.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05321/16.65, allocations: 22.28 MB / 4.127 GB, free: 136.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009765/16.66, allocations: 5.208 MB / 4.132 GB, free: 135.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03263/16.7, allocations: 4.982 MB / 4.137 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008446/16.7, allocations: 0.9017 MB / 4.137 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/16.7, allocations: 0 / 4.137 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.4739/17.18, allocations: 217 MB / 4.349 GB, free: 8.699 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)