Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 171.8 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.509/0.509, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 348.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008875, allocations: 97.12 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3954, allocations: 71.02 MB / 0.5595 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7051/1.101, allocations: 372.5 MB / 0.9232 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.101, allocations: 95.2 kB / 0.9233 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 11.12/12.22, allocations: 2.754 GB / 3.678 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.419e-06/12.22, allocations: 0 / 3.678 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001248/12.22, allocations: 171.6 kB / 3.678 GB, free: 17.63 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02406/12.24, allocations: 7.079 MB / 3.685 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/12.24, allocations: 12.03 kB / 3.685 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/12.25, allocations: 0.7764 MB / 3.685 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8299/13.08, allocations: 57.46 MB / 3.742 GB, free: 39.14 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006353/13.08, allocations: 320.8 kB / 3.742 GB, free: 39.13 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/13.08, allocations: 425 kB / 3.742 GB, free: 39.13 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/13.1, allocations: 4.3 MB / 3.746 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/13.1, allocations: 18.62 kB / 3.746 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/13.1, allocations: 172.5 kB / 3.747 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/13.1, allocations: 123 kB / 3.747 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006092/13.1, allocations: 2.904 MB / 3.75 GB, free: 38.31 MB / 0.7605 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.03932/13.14, allocations: 24 MB / 3.773 GB, free: 24.53 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/13.15, allocations: 2.961 MB / 3.776 GB, free: 23.35 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/13.15, allocations: 1.084 MB / 3.777 GB, free: 23.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002557/13.15, allocations: 3.933 MB / 3.781 GB, free: 18.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/13.15, allocations: 68.38 kB / 3.781 GB, free: 18.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=225): time 4.739e-06/13.15, allocations: 2.531 kB / 3.781 GB, free: 18.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=225): time 0.01233/13.16, allocations: 4.406 MB / 3.785 GB, free: 18.11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/13.16, allocations: 78.06 kB / 3.785 GB, free: 18.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/13.17, allocations: 4.126 MB / 3.789 GB, free: 17.71 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007521/13.17, allocations: 80.89 kB / 3.789 GB, free: 17.68 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/13.18, allocations: 2.775 MB / 3.792 GB, free: 17.03 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/13.18, allocations: 0.783 MB / 3.793 GB, free: 16.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/13.18, allocations: 53.47 kB / 3.793 GB, free: 16.52 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002532/13.18, allocations: 413.2 kB / 3.793 GB, free: 16.21 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/13.18, allocations: 0.8035 MB / 3.794 GB, free: 16.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/13.18, allocations: 1.818 MB / 3.796 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/13.19, allocations: 2.546 MB / 3.798 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/13.19, allocations: 5.531 kB / 3.798 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00856/13.2, allocations: 3.499 MB / 3.802 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004953/13.2, allocations: 0.7342 MB / 3.802 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.693e-05/13.2, allocations: 23.47 kB / 3.803 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/13.2, allocations: 0.5564 MB / 3.803 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/13.2, allocations: 0.5315 MB / 3.804 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/13.2, allocations: 2.689 MB / 3.806 GB, free: 26.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/13.21, allocations: 0.5608 MB / 3.807 GB, free: 26.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004927/13.21, allocations: 126 kB / 3.807 GB, free: 26.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/13.21, allocations: 6.031 kB / 3.807 GB, free: 26.73 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005872/13.21, allocations: 2.815 MB / 3.81 GB, free: 26.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/13.21, allocations: 19.62 kB / 3.81 GB, free: 26.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009154/13.22, allocations: 375.4 kB / 3.81 GB, free: 26.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/13.22, allocations: 0.5235 MB / 3.811 GB, free: 26.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009343/13.23, allocations: 7.73 MB / 3.818 GB, free: 20.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00587/13.23, allocations: 0.511 MB / 3.819 GB, free: 20.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006539/13.23, allocations: 130.7 kB / 3.819 GB, free: 20.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003731/13.24, allocations: 1.003 MB / 3.82 GB, free: 20.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002413/13.24, allocations: 0.5049 MB / 3.82 GB, free: 20.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008902/13.25, allocations: 3.778 MB / 3.824 GB, free: 20.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/13.25, allocations: 38.47 kB / 3.824 GB, free: 20.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/13.25, allocations: 0 / 3.824 GB, free: 20.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004269/13.25, allocations: 2.602 MB / 3.826 GB, free: 19.9 MB / 0.7761 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.02002/13.27, allocations: 8.53 MB / 3.835 GB, free: 18.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/13.27, allocations: 4.531 kB / 3.835 GB, free: 18.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/13.27, allocations: 385.5 kB / 3.835 GB, free: 18.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/13.28, allocations: 299.4 kB / 3.835 GB, free: 18.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/13.28, allocations: 65.69 kB / 3.835 GB, free: 18.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/13.28, allocations: 2.504 MB / 3.838 GB, free: 16.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/13.28, allocations: 4.891 kB / 3.838 GB, free: 16.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008698/13.29, allocations: 4.65 MB / 3.842 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/13.29, allocations: 0.9776 MB / 3.843 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/13.29, allocations: 46.38 kB / 3.843 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/13.3, allocations: 441.5 kB / 3.844 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/13.3, allocations: 150.2 kB / 3.844 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003886/13.3, allocations: 116.9 kB / 3.844 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007297/13.3, allocations: 2.716 MB / 3.847 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.6e-07/13.3, allocations: 0.9375 kB / 3.847 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01465/13.32, allocations: 3.444 MB / 3.85 GB, free: 14.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005706/13.33, allocations: 3.243 MB / 3.853 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007472/13.33, allocations: 4.435 MB / 3.858 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/13.33, allocations: 2.688 kB / 3.858 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/13.33, allocations: 1.323 MB / 3.859 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/13.35, allocations: 2.716 MB / 3.862 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/13.37, allocations: 11.16 MB / 3.872 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/13.37, allocations: 2.876 MB / 3.875 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006022/13.38, allocations: 1.199 MB / 3.876 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/13.38, allocations: 418.2 kB / 3.877 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/13.38, allocations: 0 / 3.877 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.1871/13.56, allocations: 117.9 MB / 3.992 GB, free: 4.301 MB / 0.7917 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)