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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.9001/0.9001, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 178.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 86.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001772/0.001772, allocations: 270.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4395, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7981/1.238, allocations: 373.6 MB / 1.104 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.238, allocations: 95.88 kB / 1.104 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.672/3.91, allocations: 0.6842 GB / 1.789 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/3.91, allocations: 0 / 1.789 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003701/3.911, allocations: 49.3 kB / 1.789 GB, free: 129.7 MB / 0.6823 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.008309/3.919, allocations: 2.422 MB / 1.791 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/3.919, allocations: 7.719 kB / 1.791 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/3.921, allocations: 287.7 kB / 1.791 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007608/3.929, allocations: 2.535 MB / 1.794 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/3.929, allocations: 88.84 kB / 1.794 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/3.929, allocations: 111.8 kB / 1.794 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/3.933, allocations: 1.254 MB / 1.795 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/3.933, allocations: 3.438 kB / 1.795 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/3.933, allocations: 38.12 kB / 1.795 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/3.933, allocations: 31.3 kB / 1.795 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/3.936, allocations: 0.9526 MB / 1.796 GB, free: 126.1 MB / 0.6823 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.0102/3.946, allocations: 6.635 MB / 1.803 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/3.947, allocations: 0.6093 MB / 1.803 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/3.948, allocations: 407 kB / 1.804 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003186/3.951, allocations: 1.603 MB / 1.805 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006684/3.952, allocations: 372.6 kB / 1.806 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001073/3.953, allocations: 132.4 kB / 1.806 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 8.867e-06/3.953, allocations: 1.844 kB / 1.806 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.003536/3.957, allocations: 1.323 MB / 1.807 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/3.957, allocations: 58.67 kB / 1.807 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/3.96, allocations: 1.751 MB / 1.809 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/3.96, allocations: 42.95 kB / 1.809 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009387/3.961, allocations: 0.8523 MB / 1.81 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/3.961, allocations: 168.3 kB / 1.81 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/3.961, allocations: 15.59 kB / 1.81 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001318/3.961, allocations: 341 kB / 1.81 GB, free: 117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/3.962, allocations: 287.1 kB / 1.81 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/3.963, allocations: 0.7206 MB / 1.811 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/3.964, allocations: 0.9422 MB / 1.812 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/3.964, allocations: 3.969 kB / 1.812 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002854/3.967, allocations: 1.233 MB / 1.813 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/3.968, allocations: 422.1 kB / 1.814 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/3.968, allocations: 10.69 kB / 1.814 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/3.968, allocations: 179.3 kB / 1.814 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/3.969, allocations: 170.7 kB / 1.814 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005684/3.97, allocations: 0.7669 MB / 1.815 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/3.971, allocations: 100.1 kB / 1.815 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/3.971, allocations: 47.08 kB / 1.815 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/3.971, allocations: 5.906 kB / 1.815 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/3.973, allocations: 1.075 MB / 1.816 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/3.973, allocations: 10.22 kB / 1.816 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/3.973, allocations: 123.4 kB / 1.816 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/3.974, allocations: 156 kB / 1.816 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/3.976, allocations: 2.122 MB / 1.818 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/3.977, allocations: 103.4 kB / 1.818 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/3.977, allocations: 42.97 kB / 1.818 GB, free: 111.4 MB / 0.6823 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.001159/3.978, allocations: 0.583 MB / 1.819 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/3.979, allocations: 173.3 kB / 1.819 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.981, allocations: 1.002 MB / 1.82 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/3.981, allocations: 9.125 kB / 1.82 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/3.981, allocations: 3.938 kB / 1.82 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/3.982, allocations: 0.9563 MB / 1.821 GB, free: 108.9 MB / 0.6823 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.004414/3.987, allocations: 2.175 MB / 1.823 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/3.987, allocations: 0 / 1.823 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/3.987, allocations: 89.28 kB / 1.823 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/3.987, allocations: 136.6 kB / 1.823 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/3.988, allocations: 15.98 kB / 1.823 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004573/3.988, allocations: 0.7295 MB / 1.824 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/3.988, allocations: 7.969 kB / 1.824 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/3.99, allocations: 1.368 MB / 1.825 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/3.991, allocations: 318.7 kB / 1.826 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/3.992, allocations: 15.31 kB / 1.826 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/3.993, allocations: 82.23 kB / 1.826 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/3.993, allocations: 38.94 kB / 1.826 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/3.993, allocations: 27.98 kB / 1.826 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002122/3.995, allocations: 1.203 MB / 1.827 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/3.995, allocations: 4 kB / 1.827 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003819/3.999, allocations: 0.8539 MB / 1.828 GB, free: 101.7 MB / 0.6823 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.001898/4.001, allocations: 0.7879 MB / 1.829 GB, free: 101 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002939/4.004, allocations: 1.44 MB / 1.83 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/4.004, allocations: 1.438 kB / 1.83 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006895/4.005, allocations: 346.3 kB / 1.83 GB, free: 99.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/4.009, allocations: 0.7321 MB / 1.831 GB, free: 98.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/4.014, allocations: 3.415 MB / 1.834 GB, free: 95.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/4.015, allocations: 1.492 MB / 1.836 GB, free: 93.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001948/4.017, allocations: 438 kB / 1.836 GB, free: 93.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/4.018, allocations: 131.4 kB / 1.836 GB, free: 93 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/4.018, allocations: 0 / 1.836 GB, free: 93 MB / 0.6823 GB Notification: Performance of Templates: time 0.05497/4.073, allocations: 33.78 MB / 1.869 GB, free: 60.11 MB / 0.6823 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)