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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 106.7 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8334/0.8334, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.77 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 80.21 MB / 0.6604 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6608/0.8247, allocations: 300.3 MB / 0.9536 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.07687/0.9016, allocations: 49.96 MB / 1.002 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01323/0.9149, allocations: 294.2 kB / 1.003 GB, free: 296 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01133/0.9263, allocations: 3.419 MB / 1.006 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03023/0.9565, allocations: 9.017 MB / 1.015 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.9754, allocations: 6.621 MB / 1.021 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02914/1.005, allocations: 18.47 MB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/1.018, allocations: 5.847 MB / 1.045 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5265/1.544, allocations: 7.545 MB / 1.052 GB, free: 47.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/1.558, allocations: 5.087 MB / 1.057 GB, free: 47.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00434/1.563, allocations: 0.5672 MB / 1.058 GB, free: 47.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01953/1.582, allocations: 4.384 MB / 1.062 GB, free: 47.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004872/1.587, allocations: 1.502 MB / 1.064 GB, free: 47.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01436/1.602, allocations: 3.741 MB / 1.067 GB, free: 47.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03024/1.632, allocations: 10.44 MB / 1.078 GB, free: 46.04 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.632, allocations: 0 / 1.078 GB, free: 46.04 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.435e-06/1.632, allocations: 0 / 1.078 GB, free: 46.04 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0005375/1.633, allocations: 0 / 1.078 GB, free: 46.04 MB / 0.795 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.02724/1.66, allocations: 7.48 MB / 1.085 GB, free: 42.64 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.66, allocations: 9.219 kB / 1.085 GB, free: 42.64 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005266/1.665, allocations: 0.7803 MB / 1.086 GB, free: 42.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/1.681, allocations: 5.356 MB / 1.091 GB, free: 41.17 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/1.681, allocations: 324.9 kB / 1.091 GB, free: 41.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.683, allocations: 429.3 kB / 1.092 GB, free: 41.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/1.696, allocations: 4.379 MB / 1.096 GB, free: 40.35 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/1.697, allocations: 22.41 kB / 1.096 GB, free: 40.35 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006793/1.697, allocations: 171.8 kB / 1.096 GB, free: 40.35 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/1.697, allocations: 123.8 kB / 1.096 GB, free: 40.35 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007426/1.705, allocations: 2.96 MB / 1.099 GB, free: 40.31 MB / 0.795 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.0311/1.736, allocations: 25.12 MB / 1.124 GB, free: 24.47 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/1.739, allocations: 2.764 MB / 1.126 GB, free: 23.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/1.741, allocations: 0.9946 MB / 1.127 GB, free: 23.28 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002106/1.743, allocations: 3.909 MB / 1.131 GB, free: 18.87 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/1.743, allocations: 69.5 kB / 1.131 GB, free: 18.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 5.49e-06/1.743, allocations: 0 / 1.131 GB, free: 18.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01124/1.754, allocations: 4.07 MB / 1.135 GB, free: 17.96 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.754, allocations: 73.44 kB / 1.135 GB, free: 17.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007565/1.762, allocations: 4.302 MB / 1.139 GB, free: 17.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006949/1.762, allocations: 79.67 kB / 1.139 GB, free: 17.51 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002066/1.764, allocations: 2.769 MB / 1.142 GB, free: 16.64 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.766, allocations: 0.7575 MB / 1.143 GB, free: 16.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008368/1.766, allocations: 0.5775 MB / 1.143 GB, free: 16.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/1.767, allocations: 304 kB / 1.144 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/1.768, allocations: 0.8224 MB / 1.145 GB, free: 15.78 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.77, allocations: 1.815 MB / 1.146 GB, free: 14.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/1.773, allocations: 2.519 MB / 1.149 GB, free: 13.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.773, allocations: 6.562 kB / 1.149 GB, free: 13.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008331/1.781, allocations: 3.55 MB / 1.152 GB, free: 13.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/1.781, allocations: 17.47 kB / 1.152 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.781, allocations: 26.8 kB / 1.152 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/1.784, allocations: 0.5799 MB / 1.153 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.786, allocations: 0.5577 MB / 1.153 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/1.788, allocations: 2.688 MB / 1.156 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.792, allocations: 324 kB / 1.156 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004345/1.793, allocations: 138.1 kB / 1.156 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003336/1.796, allocations: 1.571 MB / 1.158 GB, free: 10.85 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001771/1.798, allocations: 1.787 MB / 1.16 GB, free: 9.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003074/1.801, allocations: 2.469 MB / 1.162 GB, free: 8.809 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.304e-05/1.801, allocations: 5.062 kB / 1.162 GB, free: 8.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006531/1.807, allocations: 3.311 MB / 1.165 GB, free: 8.355 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.807, allocations: 17.09 kB / 1.165 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.808, allocations: 17.72 kB / 1.165 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008448/1.808, allocations: 371.8 kB / 1.166 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.81, allocations: 0.5535 MB / 1.166 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/1.816, allocations: 8.451 MB / 1.175 GB, free: 2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.821, allocations: 303.4 kB / 1.175 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/1.822, allocations: 137.9 kB / 1.175 GB, free: 1.891 MB / 0.795 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008295/1.822, allocations: 368.6 kB / 1.175 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/1.825, allocations: 0.5003 MB / 1.176 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005981/1.831, allocations: 3.554 MB / 1.179 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/1.831, allocations: 38.73 kB / 1.179 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.831, allocations: 3.938 kB / 1.179 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003425/1.834, allocations: 2.434 MB / 1.182 GB, free: 0.7969 MB / 0.795 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.01534/1.849, allocations: 8.211 MB / 1.19 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.849, allocations: 4 kB / 1.19 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.851, allocations: 360 kB / 1.19 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/1.852, allocations: 299.2 kB / 1.19 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.852, allocations: 73.66 kB / 1.19 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/1.853, allocations: 2.487 MB / 1.193 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.853, allocations: 4 kB / 1.193 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007716/1.861, allocations: 4.337 MB / 1.197 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/1.864, allocations: 0.8795 MB / 1.198 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.865, allocations: 44.44 kB / 1.198 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.868, allocations: 126.2 kB / 1.198 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.869, allocations: 152.3 kB / 1.198 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.869, allocations: 112 kB / 1.198 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005777/1.875, allocations: 2.85 MB / 1.201 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/1.875, allocations: 0 / 1.201 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01333/1.888, allocations: 3.242 MB / 1.204 GB, free: 0.6289 MB / 0.8106 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003837/1.892, allocations: 1.502 MB / 1.206 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008773/1.901, allocations: 4.427 MB / 1.21 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.901, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/1.903, allocations: 1.238 MB / 1.211 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01593/1.919, allocations: 2.622 MB / 1.214 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.939, allocations: 9.1 MB / 1.223 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/1.943, allocations: 2.866 MB / 1.226 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.944, allocations: 426.6 kB / 1.226 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of SimCode: time 8.51e-07/1.944, allocations: 0 / 1.226 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.6408/2.585, allocations: 193.1 MB / 1.415 GB, free: 485.2 MB / 1.014 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)