Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.007694/0.007694, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9203/0.9203, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 403.2 MB, free: 6.746 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.0009341/0.0009337, allocations: 93.38 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5036, allocations: 81.58 MB / 0.6437 GB, free: 39.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9136/1.417, allocations: 383.6 MB / 1.018 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.418, allocations: 100.9 kB / 1.018 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.96/13.37, allocations: 2.797 GB / 3.815 GB, free: 27.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.316e-06/13.37, allocations: 1.859 kB / 3.815 GB, free: 27.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001461/13.38, allocations: 173.2 kB / 3.816 GB, free: 27.75 MB / 0.8073 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.0332/13.41, allocations: 7.166 MB / 3.823 GB, free: 24.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/13.41, allocations: 6.5 kB / 3.823 GB, free: 24.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/13.42, allocations: 0.7791 MB / 3.823 GB, free: 23.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1589/13.57, allocations: 60.99 MB / 3.883 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008189/13.57, allocations: 316.1 kB / 3.883 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/13.58, allocations: 423.9 kB / 3.884 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/13.6, allocations: 4.264 MB / 3.888 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005021/13.6, allocations: 15.88 kB / 3.888 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00262/13.6, allocations: 180 kB / 3.888 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/13.6, allocations: 123.9 kB / 3.888 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/13.61, allocations: 2.894 MB / 3.891 GB, free: 4.41 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.8976/14.51, allocations: 24.05 MB / 3.914 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/14.52, allocations: 2.949 MB / 3.917 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/14.52, allocations: 3.939 MB / 3.921 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/14.52, allocations: 64.47 kB / 3.921 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 5.41e-06/14.52, allocations: 0 / 3.921 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.009428/14.53, allocations: 4.106 MB / 3.925 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/14.53, allocations: 77.16 kB / 3.925 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007749/14.53, allocations: 3.682 MB / 3.929 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0008316/14.54, allocations: 78.8 kB / 3.929 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/14.54, allocations: 2.791 MB / 3.932 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001254/14.54, allocations: 0.7877 MB / 3.932 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/14.54, allocations: 52.94 kB / 3.932 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/14.54, allocations: 410.6 kB / 3.933 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/14.54, allocations: 0.8016 MB / 3.934 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/14.54, allocations: 1.798 MB / 3.935 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/14.55, allocations: 1.097 MB / 3.936 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/14.55, allocations: 8.516 kB / 3.936 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006819/14.55, allocations: 3.349 MB / 3.94 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004083/14.56, allocations: 10.36 MB / 3.95 GB, free: 29.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/14.56, allocations: 26 kB / 3.95 GB, free: 29.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/14.56, allocations: 405.7 kB / 3.95 GB, free: 29.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/14.56, allocations: 0.5235 MB / 3.951 GB, free: 29.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/14.56, allocations: 2.691 MB / 3.953 GB, free: 26.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/14.57, allocations: 0.5522 MB / 3.954 GB, free: 26.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/14.57, allocations: 134.9 kB / 3.954 GB, free: 26.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/14.57, allocations: 2.594 kB / 3.954 GB, free: 26.89 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005079/14.57, allocations: 2.817 MB / 3.957 GB, free: 26.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/14.57, allocations: 21.19 kB / 3.957 GB, free: 26.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009198/14.58, allocations: 378.1 kB / 3.957 GB, free: 26.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/14.58, allocations: 0.5246 MB / 3.958 GB, free: 26.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00901/14.59, allocations: 7.808 MB / 3.965 GB, free: 21.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006237/14.59, allocations: 0.5139 MB / 3.966 GB, free: 21.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/14.59, allocations: 127.5 kB / 3.966 GB, free: 21.07 MB / 0.8542 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.003846/14.6, allocations: 0.9949 MB / 3.967 GB, free: 20.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/14.6, allocations: 0.5079 MB / 3.967 GB, free: 20.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006888/14.61, allocations: 3.785 MB / 3.971 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/14.61, allocations: 36.98 kB / 3.971 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/14.61, allocations: 3.391 kB / 3.971 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003609/14.61, allocations: 2.601 MB / 3.974 GB, free: 20.13 MB / 0.8542 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.01832/14.63, allocations: 8.581 MB / 3.982 GB, free: 18.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/14.63, allocations: 5.719 kB / 3.982 GB, free: 18.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/14.63, allocations: 385.1 kB / 3.982 GB, free: 18.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/14.63, allocations: 304.5 kB / 3.983 GB, free: 18.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/14.63, allocations: 64.27 kB / 3.983 GB, free: 18.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/14.63, allocations: 2.497 MB / 3.985 GB, free: 16.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/14.63, allocations: 1.156 kB / 3.985 GB, free: 16.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009204/14.64, allocations: 4.761 MB / 3.99 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004337/14.65, allocations: 0.9933 MB / 3.991 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/14.65, allocations: 47.95 kB / 3.991 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005177/14.65, allocations: 442.9 kB / 3.991 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/14.65, allocations: 154.8 kB / 3.991 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/14.65, allocations: 114 kB / 3.992 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008688/14.66, allocations: 2.825 MB / 3.994 GB, free: 31.16 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/14.66, allocations: 0 / 3.994 GB, free: 31.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02126/14.68, allocations: 3.596 MB / 3.998 GB, free: 30.92 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.007674/14.69, allocations: 3.425 MB / 4.001 GB, free: 29.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008797/14.7, allocations: 4.44 MB / 4.006 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/14.7, allocations: 6.859 kB / 4.006 GB, free: 29.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/14.7, allocations: 1.324 MB / 4.007 GB, free: 29.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/14.72, allocations: 2.71 MB / 4.01 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/14.75, allocations: 11.19 MB / 4.02 GB, free: 23.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005807/14.75, allocations: 2.997 MB / 4.023 GB, free: 23.06 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008801/14.76, allocations: 1.21 MB / 4.025 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/14.76, allocations: 424.2 kB / 4.025 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of SimCode: time 2.915e-06/14.76, allocations: 0 / 4.025 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.2381/15, allocations: 119 MB / 4.141 GB, free: 13.05 MB / 0.8698 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)