Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8283/0.8283, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001262/0.001263, allocations: 185 kB / 191.5 MB, free: 5.758 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.626/1.626, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0009632/0.0009632, allocations: 94.2 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 271.6 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004507, allocations: 18.12 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9185/1.132, allocations: 381.3 MB / 1.146 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.133, allocations: 102.2 kB / 1.146 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 12.1/13.23, allocations: 2.796 GB / 3.942 GB, free: 38.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.217e-06/13.23, allocations: 2.516 kB / 3.942 GB, free: 38.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001458/13.23, allocations: 169 kB / 3.943 GB, free: 38.93 MB / 0.8386 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.03448/13.27, allocations: 7.146 MB / 3.949 GB, free: 35.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/13.27, allocations: 6.781 kB / 3.949 GB, free: 35.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/13.27, allocations: 0.7801 MB / 3.95 GB, free: 35.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1437/13.42, allocations: 60.92 MB / 4.01 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/13.42, allocations: 320.1 kB / 4.01 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/13.42, allocations: 429.3 kB / 4.01 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/13.44, allocations: 4.269 MB / 4.015 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003934/13.44, allocations: 11.62 kB / 4.015 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/13.44, allocations: 177.4 kB / 4.015 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/13.44, allocations: 115.7 kB / 4.015 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/13.45, allocations: 2.906 MB / 4.018 GB, free: 30.23 MB / 0.8386 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.04754/13.5, allocations: 24.06 MB / 4.041 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/13.5, allocations: 2.953 MB / 4.044 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002922/13.5, allocations: 3.94 MB / 4.048 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/13.5, allocations: 63.28 kB / 4.048 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 5.991e-06/13.5, allocations: 3.938 kB / 4.048 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.01237/13.52, allocations: 4.107 MB / 4.052 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/13.52, allocations: 75.12 kB / 4.052 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/13.53, allocations: 3.662 MB / 4.056 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/13.53, allocations: 79.95 kB / 4.056 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004177/13.53, allocations: 2.778 MB / 4.058 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/13.53, allocations: 0.7767 MB / 4.059 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/13.54, allocations: 55.03 kB / 4.059 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003249/13.54, allocations: 408.5 kB / 4.06 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/13.54, allocations: 0.801 MB / 4.06 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/13.54, allocations: 1.807 MB / 4.062 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/13.54, allocations: 1.104 MB / 4.063 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/13.54, allocations: 7.719 kB / 4.063 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007169/13.55, allocations: 3.365 MB / 4.067 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005796/13.56, allocations: 10.34 MB / 4.077 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/13.56, allocations: 20.97 kB / 4.077 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/13.56, allocations: 410.7 kB / 4.077 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/13.56, allocations: 0.5265 MB / 4.078 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/13.56, allocations: 2.684 MB / 4.08 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007393/13.57, allocations: 0.568 MB / 4.081 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007166/13.57, allocations: 133.2 kB / 4.081 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/13.57, allocations: 6.812 kB / 4.081 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007443/13.58, allocations: 2.807 MB / 4.084 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-05/13.58, allocations: 23.34 kB / 4.084 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/13.58, allocations: 371.9 kB / 4.084 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/13.58, allocations: 0.5342 MB / 4.085 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/13.59, allocations: 7.793 MB / 4.092 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008918/13.6, allocations: 0.5269 MB / 4.093 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/13.6, allocations: 123.9 kB / 4.093 GB, free: 11.52 MB / 0.8698 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.005999/13.61, allocations: 1.008 MB / 4.094 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/13.61, allocations: 0.506 MB / 4.094 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/13.62, allocations: 3.792 MB / 4.098 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-05/13.62, allocations: 35.59 kB / 4.098 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/13.62, allocations: 4 kB / 4.098 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005369/13.63, allocations: 2.613 MB / 4.101 GB, free: 6.293 MB / 0.8698 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.8719/14.5, allocations: 8.563 MB / 4.109 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/14.5, allocations: 0 / 4.109 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/14.5, allocations: 389.4 kB / 4.109 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008595/14.5, allocations: 308.8 kB / 4.11 GB, free: 67.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004446/14.5, allocations: 67.16 kB / 4.11 GB, free: 67.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/14.51, allocations: 2.494 MB / 4.112 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/14.51, allocations: 1.312 kB / 4.112 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009925/14.52, allocations: 4.76 MB / 4.117 GB, free: 64.97 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005667/14.52, allocations: 0.9943 MB / 4.118 GB, free: 64.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/14.52, allocations: 46.09 kB / 4.118 GB, free: 64.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005193/14.53, allocations: 439.6 kB / 4.118 GB, free: 64.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/14.53, allocations: 154.6 kB / 4.118 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/14.53, allocations: 114.8 kB / 4.118 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007118/14.54, allocations: 2.801 MB / 4.121 GB, free: 64.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/14.54, allocations: 0 / 4.121 GB, free: 64.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01864/14.55, allocations: 3.594 MB / 4.125 GB, free: 64.45 MB / 0.8698 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.007477/14.56, allocations: 3.441 MB / 4.128 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008575/14.57, allocations: 4.428 MB / 4.132 GB, free: 62.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/14.57, allocations: 3.188 kB / 4.132 GB, free: 62.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/14.57, allocations: 1.324 MB / 4.134 GB, free: 62.74 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/14.59, allocations: 2.742 MB / 4.136 GB, free: 62.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/14.61, allocations: 11.16 MB / 4.147 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/14.61, allocations: 2.986 MB / 4.15 GB, free: 56.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006989/14.62, allocations: 1.209 MB / 4.151 GB, free: 56.81 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/14.62, allocations: 425.5 kB / 4.152 GB, free: 56.81 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/14.62, allocations: 0.9844 kB / 4.152 GB, free: 56.81 MB / 0.8698 GB Notification: Performance of Templates: time 0.2135/14.84, allocations: 120 MB / 4.269 GB, free: 47.63 MB / 0.8698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)