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.00112/0.00112, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.001454/0.001455, allocations: 187 kB / 17.34 MB, free: 5.742 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.363/1.363, 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.7951/0.7951, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 75.2 kB / 0.5821 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 80.21 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6749/0.8482, allocations: 300.3 MB / 0.9536 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0743/0.9225, allocations: 49.94 MB / 1.002 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01422/0.9368, allocations: 302.2 kB / 1.003 GB, free: 244 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.9491, allocations: 3.427 MB / 1.006 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03253/0.9817, allocations: 9.017 MB / 1.015 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02021/1.002, allocations: 6.627 MB / 1.021 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03073/1.033, allocations: 18.46 MB / 1.039 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/1.046, allocations: 5.867 MB / 1.045 GB, free: 4.676 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.55/1.596, allocations: 7.534 MB / 1.052 GB, free: 47.83 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/1.608, allocations: 5.091 MB / 1.057 GB, free: 47.83 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003493/1.611, allocations: 0.5682 MB / 1.058 GB, free: 47.83 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0163/1.628, allocations: 4.38 MB / 1.062 GB, free: 47.83 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004492/1.632, allocations: 1.51 MB / 1.064 GB, free: 47.83 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01161/1.644, allocations: 3.735 MB / 1.067 GB, free: 47.15 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02436/1.668, allocations: 10.44 MB / 1.078 GB, free: 45.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/1.668, allocations: 3.25 kB / 1.078 GB, free: 45.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.976e-06/1.668, allocations: 0 / 1.078 GB, free: 45.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003958/1.669, allocations: 0 / 1.078 GB, free: 45.95 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.01838/1.687, allocations: 7.475 MB / 1.085 GB, free: 42.55 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.687, allocations: 10.62 kB / 1.085 GB, free: 42.55 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/1.69, allocations: 0.7861 MB / 1.086 GB, free: 42.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/1.702, allocations: 5.353 MB / 1.091 GB, free: 41.08 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/1.703, allocations: 326.4 kB / 1.091 GB, free: 41.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/1.704, allocations: 427.3 kB / 1.092 GB, free: 41.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/1.711, allocations: 4.375 MB / 1.096 GB, free: 40.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/1.711, allocations: 19.06 kB / 1.096 GB, free: 40.26 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/1.712, allocations: 174.8 kB / 1.096 GB, free: 40.26 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.712, allocations: 122.1 kB / 1.096 GB, free: 40.26 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/1.717, allocations: 2.958 MB / 1.099 GB, free: 40.23 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.0272/1.744, allocations: 25.12 MB / 1.124 GB, free: 24.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/1.747, allocations: 2.763 MB / 1.126 GB, free: 23.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.748, allocations: 0.993 MB / 1.127 GB, free: 23.19 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/1.75, allocations: 3.909 MB / 1.131 GB, free: 18.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.751, allocations: 69.12 kB / 1.131 GB, free: 18.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.208e-06/1.751, allocations: 4 kB / 1.131 GB, free: 18.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01057/1.761, allocations: 4.066 MB / 1.135 GB, free: 17.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.761, allocations: 74.28 kB / 1.135 GB, free: 17.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.769, allocations: 4.3 MB / 1.139 GB, free: 17.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006837/1.77, allocations: 81.33 kB / 1.139 GB, free: 17.42 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.772, allocations: 2.773 MB / 1.142 GB, free: 16.55 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.773, allocations: 0.7597 MB / 1.143 GB, free: 16.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008675/1.774, allocations: 0.5747 MB / 1.143 GB, free: 16.01 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/1.774, allocations: 301.1 kB / 1.144 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.775, allocations: 0.8206 MB / 1.145 GB, free: 15.69 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.777, allocations: 1.823 MB / 1.146 GB, free: 14.53 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/1.781, allocations: 2.509 MB / 1.149 GB, free: 13.65 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.781, allocations: 7.75 kB / 1.149 GB, free: 13.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007913/1.789, allocations: 3.555 MB / 1.152 GB, free: 13.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.789, allocations: 11.81 kB / 1.152 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.789, allocations: 21.75 kB / 1.152 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/1.791, allocations: 0.5862 MB / 1.153 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.793, allocations: 0.5566 MB / 1.153 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.795, allocations: 2.685 MB / 1.156 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/1.8, allocations: 332.4 kB / 1.156 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.8, allocations: 134.1 kB / 1.156 GB, free: 10.85 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003501/1.804, allocations: 1.569 MB / 1.158 GB, free: 10.76 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001788/1.806, allocations: 1.796 MB / 1.16 GB, free: 9.594 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003136/1.809, allocations: 2.462 MB / 1.162 GB, free: 8.719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.702e-05/1.809, allocations: 8.875 kB / 1.162 GB, free: 8.719 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006879/1.816, allocations: 3.307 MB / 1.165 GB, free: 8.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.816, allocations: 15.69 kB / 1.165 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/1.816, allocations: 23.86 kB / 1.165 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008757/1.817, allocations: 368.8 kB / 1.166 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.818, allocations: 0.5513 MB / 1.166 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/1.825, allocations: 8.465 MB / 1.175 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/1.83, allocations: 295.7 kB / 1.175 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005967/1.831, allocations: 134.7 kB / 1.175 GB, free: 1.801 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.0008768/1.831, allocations: 360.8 kB / 1.175 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002039/1.833, allocations: 0.5044 MB / 1.176 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/1.84, allocations: 3.562 MB / 1.179 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/1.84, allocations: 36.19 kB / 1.179 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.84, allocations: 3.938 kB / 1.179 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003398/1.843, allocations: 2.438 MB / 1.182 GB, free: 0.7031 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.01538/1.858, allocations: 8.195 MB / 1.19 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.858, allocations: 7.938 kB / 1.19 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.86, allocations: 363.9 kB / 1.19 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/1.861, allocations: 308.2 kB / 1.19 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.861, allocations: 63.84 kB / 1.19 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.863, allocations: 2.492 MB / 1.193 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.863, allocations: 4 kB / 1.193 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/1.871, allocations: 4.334 MB / 1.197 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003423/1.875, allocations: 0.8772 MB / 1.198 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.876, allocations: 47.8 kB / 1.198 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.879, allocations: 124.9 kB / 1.198 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.879, allocations: 148.4 kB / 1.198 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.88, allocations: 112 kB / 1.198 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005553/1.885, allocations: 2.855 MB / 1.201 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/1.885, allocations: 0 / 1.201 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01327/1.899, allocations: 3.237 MB / 1.204 GB, free: 0.5 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.004227/1.903, allocations: 1.503 MB / 1.206 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.913, allocations: 4.421 MB / 1.21 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.913, allocations: 4 kB / 1.21 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/1.916, allocations: 1.239 MB / 1.211 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01746/1.933, allocations: 2.63 MB / 1.214 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.955, allocations: 9.102 MB / 1.223 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00487/1.96, allocations: 2.858 MB / 1.226 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.962, allocations: 434.5 kB / 1.226 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/1.962, allocations: 0 / 1.226 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.6572/2.619, 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)