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.9846/0.9846, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001758/0.001758, allocations: 187.8 kB / 182.2 MB, free: 9.473 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.472/1.472, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001366/0.001366, allocations: 90.55 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 272 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.388e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.457, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8129/1.27, allocations: 361.2 MB / 1.11 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.27, allocations: 98.27 kB / 1.11 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.672/3.942, allocations: 0.6972 GB / 1.807 GB, free: 140.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/3.942, allocations: 0 / 1.807 GB, free: 140.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001798/3.943, allocations: 52.42 kB / 1.807 GB, free: 140.2 MB / 0.698 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.003521/3.946, allocations: 1.838 MB / 1.809 GB, free: 139.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/3.946, allocations: 9.375 kB / 1.809 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/3.947, allocations: 295.9 kB / 1.809 GB, free: 139.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/3.952, allocations: 2.51 MB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/3.952, allocations: 40.42 kB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/3.952, allocations: 64.62 kB / 1.812 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/3.954, allocations: 0.8363 MB / 1.813 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/3.955, allocations: 1.074 MB / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/3.955, allocations: 2.438 kB / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/3.955, allocations: 2.031 kB / 1.814 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/3.955, allocations: 30.06 kB / 1.814 GB, free: 138.5 MB / 0.698 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.006239/3.961, allocations: 6.415 MB / 1.82 GB, free: 134.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/3.962, allocations: 0.588 MB / 1.821 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/3.963, allocations: 368 kB / 1.821 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/3.965, allocations: 1.575 MB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/3.965, allocations: 327.1 kB / 1.823 GB, free: 133.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006568/3.966, allocations: 106.1 kB / 1.823 GB, free: 133.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.745e-06/3.966, allocations: 0 / 1.823 GB, free: 133.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.00166/3.968, allocations: 0.8155 MB / 1.824 GB, free: 133.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/3.968, allocations: 58.38 kB / 1.824 GB, free: 133.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/3.97, allocations: 1.356 MB / 1.825 GB, free: 133.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/3.971, allocations: 29.2 kB / 1.825 GB, free: 133.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007993/3.971, allocations: 0.8549 MB / 1.826 GB, free: 133.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/3.972, allocations: 157.6 kB / 1.826 GB, free: 133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/3.972, allocations: 0 / 1.826 GB, free: 133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/3.972, allocations: 338.5 kB / 1.827 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/3.972, allocations: 252.2 kB / 1.827 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/3.973, allocations: 0.6782 MB / 1.827 GB, free: 132.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/3.974, allocations: 413.5 kB / 1.828 GB, free: 132.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/3.974, allocations: 3.531 kB / 1.828 GB, free: 132.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003077/3.977, allocations: 1.113 MB / 1.829 GB, free: 131.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001026/3.978, allocations: 4.101 MB / 1.833 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/3.978, allocations: 11.66 kB / 1.833 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/3.979, allocations: 124.2 kB / 1.833 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/3.98, allocations: 172.9 kB / 1.833 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007968/3.981, allocations: 0.7803 MB / 1.834 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/3.982, allocations: 91.53 kB / 1.834 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/3.983, allocations: 53.94 kB / 1.834 GB, free: 126.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/3.983, allocations: 3.531 kB / 1.834 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/3.985, allocations: 0.9215 MB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/3.985, allocations: 13.8 kB / 1.835 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/3.985, allocations: 107.9 kB / 1.835 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/3.986, allocations: 167.6 kB / 1.835 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/3.988, allocations: 2.035 MB / 1.837 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/3.99, allocations: 77.77 kB / 1.837 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/3.99, allocations: 46.92 kB / 1.837 GB, free: 124.8 MB / 0.698 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 () * 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.0002873/3.99, allocations: 133.7 kB / 1.838 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/3.991, allocations: 163.4 kB / 1.838 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/3.993, allocations: 0.9107 MB / 1.839 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/3.993, allocations: 5.906 kB / 1.839 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/3.993, allocations: 0 / 1.839 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/3.995, allocations: 0.8859 MB / 1.84 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/3.999, allocations: 1.974 MB / 1.841 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/3.999, allocations: 2.406 kB / 1.841 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/4, allocations: 87.59 kB / 1.842 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/4, allocations: 105.6 kB / 1.842 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/4, allocations: 11.45 kB / 1.842 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/4.001, allocations: 0.7276 MB / 1.842 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/4.001, allocations: 0 / 1.842 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/4.003, allocations: 1.279 MB / 1.844 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/4.004, allocations: 313.8 kB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/4.005, allocations: 3.953 kB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/4.006, allocations: 67.58 kB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/4.006, allocations: 43.72 kB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/4.007, allocations: 19.78 kB / 1.844 GB, free: 121.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002537/4.009, allocations: 1.046 MB / 1.845 GB, free: 120.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/4.009, allocations: 0 / 1.845 GB, free: 120.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005056/4.014, allocations: 0.8518 MB / 1.846 GB, free: 120.7 MB / 0.698 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) * 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.002701/4.017, allocations: 0.7673 MB / 1.847 GB, free: 120.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003638/4.021, allocations: 1.346 MB / 1.848 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/4.021, allocations: 0 / 1.848 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/4.021, allocations: 301 kB / 1.848 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/4.026, allocations: 0.6344 MB / 1.849 GB, free: 119.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/4.032, allocations: 2.182 MB / 1.851 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/4.034, allocations: 1.538 MB / 1.852 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00441/4.038, allocations: 0.8056 MB / 1.853 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/4.039, allocations: 99.23 kB / 1.853 GB, free: 117.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.723e-06/4.039, allocations: 0 / 1.853 GB, free: 117.9 MB / 0.698 GB Notification: Performance of Templates: time 0.06508/4.104, allocations: 30.53 MB / 1.883 GB, free: 93.98 MB / 0.698 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)