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.8416/0.8416, allocations: 143.4 MB / 158.3 MB, free: 5.824 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 175.6 kB / 191.5 MB, free: 5.785 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.58/1.58, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009073/0.0009072, allocations: 88.27 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 281.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004563, allocations: 12.81 kB / 0.6929 GB, free: 59.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9217/1.131, allocations: 379.3 MB / 1.144 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.132, allocations: 101.1 kB / 1.144 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.177/10.31, allocations: 2.325 GB / 3.469 GB, free: 62.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/10.31, allocations: 0 / 3.469 GB, free: 62.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001716/10.31, allocations: 254.8 kB / 3.469 GB, free: 62.18 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.03892/10.35, allocations: 9.483 MB / 3.478 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/10.35, allocations: 11.5 kB / 3.478 GB, free: 58.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009948/10.36, allocations: 1.239 MB / 3.48 GB, free: 58.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03745/10.4, allocations: 12.62 MB / 3.492 GB, free: 56.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/10.4, allocations: 438.7 kB / 3.492 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/10.4, allocations: 0.5847 MB / 3.493 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/10.43, allocations: 13.64 MB / 3.506 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002911/10.43, allocations: 23.91 kB / 3.506 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/10.44, allocations: 242 kB / 3.506 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/10.44, allocations: 138.9 kB / 3.507 GB, free: 56.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/10.47, allocations: 18.34 MB / 3.524 GB, free: 56.07 MB / 0.7448 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.09905/10.56, allocations: 55.48 MB / 3.579 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/10.58, allocations: 8.848 MB / 3.587 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05492/10.63, allocations: 26.34 MB / 3.613 GB, free: 28.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01295/10.65, allocations: 7.411 MB / 3.62 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04769/10.69, allocations: 21.18 MB / 3.641 GB, free: 21.74 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 3.434e-05/10.69, allocations: 4 kB / 3.641 GB, free: 21.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.0484/10.74, allocations: 22.55 MB / 3.663 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/10.74, allocations: 84.5 kB / 3.663 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5378/11.28, allocations: 7.473 MB / 3.67 GB, free: 69.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.003292/11.28, allocations: 100.2 kB / 3.67 GB, free: 69.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.006519/11.29, allocations: 4.005 MB / 3.674 GB, free: 69.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003478/11.29, allocations: 1.085 MB / 3.675 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009129/11.29, allocations: 92 kB / 3.675 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003909/11.29, allocations: 492.7 kB / 3.676 GB, free: 69.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01136/11.31, allocations: 6.187 MB / 3.682 GB, free: 69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/11.32, allocations: 7.995 MB / 3.69 GB, free: 66.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/11.33, allocations: 7.094 MB / 3.697 GB, free: 66.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/11.33, allocations: 14.53 kB / 3.697 GB, free: 66.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03422/11.36, allocations: 16.57 MB / 3.713 GB, free: 66.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.006081/11.37, allocations: 25.25 MB / 3.738 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/11.37, allocations: 48.53 kB / 3.738 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06592/11.44, allocations: 10.88 MB / 3.748 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00961/11.45, allocations: 1.603 MB / 3.75 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009037/11.45, allocations: 6.355 MB / 3.756 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/11.47, allocations: 0.6015 MB / 3.757 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003448/11.47, allocations: 0.5412 MB / 3.757 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/11.47, allocations: 6.688 kB / 3.757 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03663/11.51, allocations: 15.92 MB / 3.773 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/11.51, allocations: 50.92 kB / 3.773 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06495/11.57, allocations: 10.63 MB / 3.783 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009303/11.58, allocations: 1.601 MB / 3.785 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/11.6, allocations: 10.37 MB / 3.795 GB, free: 47.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/11.61, allocations: 0.5692 MB / 3.795 GB, free: 47.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003629/11.62, allocations: 0.5338 MB / 3.796 GB, free: 47.05 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 () * 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.01195/11.63, allocations: 2.635 MB / 3.798 GB, free: 46.85 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005844/11.63, allocations: 0.7566 MB / 3.799 GB, free: 46.45 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03104/11.67, allocations: 13.67 MB / 3.813 GB, free: 45.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/11.67, allocations: 32.34 kB / 3.813 GB, free: 45.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/11.67, allocations: 0 / 3.813 GB, free: 45.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01622/11.68, allocations: 10.26 MB / 3.823 GB, free: 45.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05193/11.73, allocations: 23.94 MB / 3.846 GB, free: 42.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/11.73, allocations: 3.391 kB / 3.846 GB, free: 42.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005849/11.74, allocations: 0.6955 MB / 3.847 GB, free: 42.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06294/11.8, allocations: 9.943 MB / 3.856 GB, free: 41.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001505/11.8, allocations: 104.5 kB / 3.856 GB, free: 41.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/11.81, allocations: 4.316 MB / 3.861 GB, free: 38.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/11.81, allocations: 3.375 kB / 3.861 GB, free: 38.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03337/11.84, allocations: 18.52 MB / 3.879 GB, free: 31.24 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008493/11.85, allocations: 2.004 MB / 3.881 GB, free: 30.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004124/11.86, allocations: 72.16 kB / 3.881 GB, free: 30.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009439/11.87, allocations: 424.4 kB / 3.881 GB, free: 30.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/11.87, allocations: 222.2 kB / 3.881 GB, free: 30.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001458/11.87, allocations: 155.4 kB / 3.882 GB, free: 30.13 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01496/11.88, allocations: 5.811 MB / 3.887 GB, free: 28.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.41e-07/11.88, allocations: 0 / 3.887 GB, free: 28.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.03083/11.91, allocations: 4.928 MB / 3.892 GB, free: 27.86 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) * 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.004822/11.92, allocations: 1.28 MB / 3.893 GB, free: 27.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04204/11.96, allocations: 23.56 MB / 3.916 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.046e-05/11.96, allocations: 5 kB / 3.916 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/11.97, allocations: 6.186 MB / 3.922 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02729/12, allocations: 4.607 MB / 3.927 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04832/12.05, allocations: 22.36 MB / 3.949 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00767/12.06, allocations: 5.37 MB / 3.954 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.02488/12.08, allocations: 5.021 MB / 3.959 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006603/12.09, allocations: 0.9145 MB / 3.96 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of SimCode: time 2.244e-06/12.09, allocations: 0 / 3.96 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of Templates: time 0.8696/12.96, allocations: 219.8 MB / 4.174 GB, free: 53.11 MB / 0.7917 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)