Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") translateModel(BuildingSystems.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8646/0.8646, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.0012/0.0012, allocations: 182 kB / 191.5 MB, free: 5.777 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.587/1.587, 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.0009929/0.0009928, allocations: 87.64 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.0019, allocations: 273.5 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 18.91 kB / 0.6929 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2653, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9212/1.187, allocations: 361.9 MB / 1.127 GB, free: 7.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.187, allocations: 101.5 kB / 1.127 GB, free: 7.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.897/4.084, allocations: 0.7037 GB / 1.831 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.685e-06/4.084, allocations: 4.906 kB / 1.831 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002238/4.084, allocations: 53.47 kB / 1.831 GB, free: 139.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007315/4.091, allocations: 2.432 MB / 1.833 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/4.091, allocations: 15.44 kB / 1.833 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/4.093, allocations: 288.9 kB / 1.834 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006493/4.1, allocations: 2.538 MB / 1.836 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/4.1, allocations: 90.11 kB / 1.836 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/4.1, allocations: 104.4 kB / 1.836 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/4.102, allocations: 1.24 MB / 1.838 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/4.102, allocations: 7 kB / 1.838 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.853e-05/4.102, allocations: 44.41 kB / 1.838 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/4.102, allocations: 26.75 kB / 1.838 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/4.104, allocations: 0.9479 MB / 1.839 GB, free: 137.4 MB / 0.7136 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.008759/4.112, allocations: 6.614 MB / 1.845 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/4.114, allocations: 0.6124 MB / 1.846 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003337/4.117, allocations: 1.634 MB / 1.847 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006708/4.118, allocations: 369.4 kB / 1.848 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/4.119, allocations: 136.6 kB / 1.848 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 6.142e-06/4.119, allocations: 0 / 1.848 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.003074/4.122, allocations: 1.259 MB / 1.849 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/4.122, allocations: 59.38 kB / 1.849 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/4.125, allocations: 1.565 MB / 1.851 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/4.126, allocations: 39.89 kB / 1.851 GB, free: 132 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/4.127, allocations: 0.8481 MB / 1.851 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/4.128, allocations: 165.8 kB / 1.852 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/4.128, allocations: 17 kB / 1.852 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000171/4.128, allocations: 340.5 kB / 1.852 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/4.129, allocations: 280.8 kB / 1.852 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/4.13, allocations: 0.7237 MB / 1.853 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/4.131, allocations: 423.7 kB / 1.853 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/4.131, allocations: 3.969 kB / 1.853 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003633/4.135, allocations: 1.219 MB / 1.854 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001817/4.136, allocations: 4.132 MB / 1.858 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/4.137, allocations: 12.91 kB / 1.859 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/4.137, allocations: 136.8 kB / 1.859 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/4.138, allocations: 175 kB / 1.859 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008148/4.139, allocations: 0.7541 MB / 1.86 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/4.141, allocations: 103.5 kB / 1.86 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/4.141, allocations: 52.27 kB / 1.86 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/4.141, allocations: 3.688 kB / 1.86 GB, free: 125.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002014/4.143, allocations: 1.073 MB / 1.861 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/4.143, allocations: 10.22 kB / 1.861 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/4.143, allocations: 118.6 kB / 1.861 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/4.144, allocations: 169.8 kB / 1.861 GB, free: 125.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/4.146, allocations: 2.14 MB / 1.863 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/4.148, allocations: 107.9 kB / 1.863 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/4.148, allocations: 46.2 kB / 1.863 GB, free: 124.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001193/4.149, allocations: 0.5862 MB / 1.864 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/4.15, allocations: 173.4 kB / 1.864 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/4.152, allocations: 1.01 MB / 1.865 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/4.152, allocations: 7 kB / 1.865 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/4.152, allocations: 2.938 kB / 1.865 GB, free: 123.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/4.153, allocations: 0.9543 MB / 1.866 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/4.158, allocations: 2.176 MB / 1.868 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/4.158, allocations: 0 / 1.868 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/4.159, allocations: 91.89 kB / 1.868 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/4.159, allocations: 123.5 kB / 1.868 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/4.159, allocations: 18.45 kB / 1.868 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004704/4.16, allocations: 0.7245 MB / 1.869 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.16, allocations: 0 / 1.869 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/4.162, allocations: 1.428 MB / 1.87 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009792/4.163, allocations: 316.2 kB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/4.163, allocations: 7.656 kB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/4.165, allocations: 88.28 kB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/4.165, allocations: 33.22 kB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/4.165, allocations: 29.59 kB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002863/4.168, allocations: 1.226 MB / 1.872 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/4.168, allocations: 0 / 1.872 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005156/4.173, allocations: 0.8703 MB / 1.873 GB, free: 120 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0023/4.175, allocations: 0.7976 MB / 1.874 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003094/4.178, allocations: 1.444 MB / 1.875 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/4.178, allocations: 0 / 1.875 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007029/4.179, allocations: 349.7 kB / 1.875 GB, free: 119 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/4.183, allocations: 0.7357 MB / 1.876 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/4.189, allocations: 3.426 MB / 1.879 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/4.19, allocations: 1.526 MB / 1.881 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002105/4.192, allocations: 447.8 kB / 1.881 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/4.193, allocations: 123.3 kB / 1.881 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.833e-06/4.193, allocations: 2.625 kB / 1.881 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.05504/4.248, allocations: 33.55 MB / 1.914 GB, free: 88.56 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)