Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 182.2 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007417/0.0007416, allocations: 93.97 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 18.44 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.372/3.531, allocations: 2.182 GB / 3.083 GB, free: 37.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/3.531, allocations: 97.03 kB / 3.083 GB, free: 37.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.665/8.197, allocations: 1.721 GB / 4.805 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/8.197, allocations: 4 kB / 4.805 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001462/8.197, allocations: 39.92 kB / 4.805 GB, free: 29.57 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003235/8.2, allocations: 1.411 MB / 4.806 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/8.2, allocations: 12.03 kB / 4.806 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/8.201, allocations: 187.4 kB / 4.806 GB, free: 27.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/8.203, allocations: 1.128 MB / 4.807 GB, free: 26.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/8.203, allocations: 41.38 kB / 4.807 GB, free: 26.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/8.204, allocations: 64.38 kB / 4.807 GB, free: 26.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/8.205, allocations: 0.766 MB / 4.808 GB, free: 25.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/8.205, allocations: 11.88 kB / 4.808 GB, free: 25.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/8.205, allocations: 20 kB / 4.808 GB, free: 25.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/8.205, allocations: 19.94 kB / 4.808 GB, free: 25.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/8.205, allocations: 0.5149 MB / 4.809 GB, free: 25.2 MB / 0.8855 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.003225/8.209, allocations: 4.583 MB / 4.813 GB, free: 20.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/8.209, allocations: 426.2 kB / 4.814 GB, free: 19.81 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/8.21, allocations: 246.9 kB / 4.814 GB, free: 19.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/8.21, allocations: 202.2 kB / 4.814 GB, free: 19.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/8.21, allocations: 282.4 kB / 4.814 GB, free: 19.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/8.21, allocations: 3.984 kB / 4.814 GB, free: 19.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001101/8.211, allocations: 0.6449 MB / 4.815 GB, free: 18.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/8.211, allocations: 85.11 kB / 4.815 GB, free: 18.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/8.212, allocations: 1.11 MB / 4.816 GB, free: 17.15 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/8.212, allocations: 37.7 kB / 4.816 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/8.213, allocations: 496.1 kB / 4.817 GB, free: 16.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/8.213, allocations: 106.7 kB / 4.817 GB, free: 16.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/8.213, allocations: 8 kB / 4.817 GB, free: 16.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/8.213, allocations: 333.9 kB / 4.817 GB, free: 16.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/8.213, allocations: 184.7 kB / 4.817 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/8.213, allocations: 0.5046 MB / 4.818 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/8.214, allocations: 0.5906 MB / 4.818 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/8.214, allocations: 4 kB / 4.818 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008353/8.215, allocations: 0.6857 MB / 4.819 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/8.215, allocations: 279 kB / 4.819 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/8.215, allocations: 8 kB / 4.819 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/8.215, allocations: 8 kB / 4.819 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/8.215, allocations: 115.8 kB / 4.819 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/8.215, allocations: 8 kB / 4.819 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/8.216, allocations: 107.5 kB / 4.819 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/8.216, allocations: 24 kB / 4.819 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/8.216, allocations: 6.5 kB / 4.819 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006713/8.217, allocations: 0.5359 MB / 4.82 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/8.217, allocations: 11.94 kB / 4.82 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/8.217, allocations: 8.656 kB / 4.82 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/8.217, allocations: 107.8 kB / 4.82 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/8.217, allocations: 11.98 kB / 4.82 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/8.218, allocations: 95.53 kB / 4.82 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/8.218, allocations: 23.98 kB / 4.82 GB, free: 12.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000383/8.218, allocations: 468.7 kB / 4.821 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/8.218, allocations: 106.7 kB / 4.821 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/8.219, allocations: 0.4949 MB / 4.821 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/8.219, allocations: 4 kB / 4.821 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/8.219, allocations: 8.375 kB / 4.821 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/8.219, allocations: 0 / 4.821 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/8.221, allocations: 1.386 MB / 4.823 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/8.221, allocations: 4 kB / 4.823 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/8.221, allocations: 63.89 kB / 4.823 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/8.221, allocations: 7.984 kB / 4.823 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/8.221, allocations: 16.16 kB / 4.823 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/8.221, allocations: 4 kB / 4.823 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/8.221, allocations: 11.92 kB / 4.823 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/8.221, allocations: 0.6066 MB / 4.823 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/8.222, allocations: 219.8 kB / 4.824 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/8.222, allocations: 8 kB / 4.824 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/8.222, allocations: 55.88 kB / 4.824 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/8.222, allocations: 35.84 kB / 4.824 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/8.222, allocations: 15.98 kB / 4.824 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007294/8.223, allocations: 0.7758 MB / 4.824 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/8.223, allocations: 4 kB / 4.824 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001217/8.224, allocations: 479.7 kB / 4.825 GB, free: 7.648 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/8.225, allocations: 0.9005 MB / 4.826 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001045/8.226, allocations: 0.802 MB / 4.827 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/8.226, allocations: 0 / 4.827 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/8.227, allocations: 203.7 kB / 4.827 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/8.229, allocations: 462.6 kB / 4.827 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/8.231, allocations: 1.958 MB / 4.829 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/8.231, allocations: 1.184 MB / 4.83 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009423/8.232, allocations: 419.6 kB / 4.831 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/8.232, allocations: 75.42 kB / 4.831 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/8.232, allocations: 0 / 4.831 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of Templates: time 0.3882/8.62, allocations: 27.02 MB / 4.857 GB, free: 266.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)