Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001733/0.001733, allocations: 104 kB / 16.4 MB, free: 6.004 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.001866/0.001866, allocations: 191.9 kB / 17.34 MB, free: 5.582 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.87/0.87, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.33 kB / 0.5864 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1654, allocations: 80.93 MB / 0.6654 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.673/0.8384, allocations: 300.8 MB / 0.9592 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07786/0.9163, allocations: 49.98 MB / 1.008 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01514/0.9314, allocations: 298.2 kB / 1.008 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.9437, allocations: 3.548 MB / 1.012 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03169/0.9754, allocations: 9.481 MB / 1.021 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.9944, allocations: 6.706 MB / 1.028 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.03213/1.027, allocations: 18.48 MB / 1.046 GB, free: 2.527 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5639/1.59, allocations: 4.88 MB / 1.05 GB, free: 45.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02743/1.618, allocations: 7.568 MB / 1.058 GB, free: 45.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01636/1.634, allocations: 5.097 MB / 1.063 GB, free: 45.19 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.004883/1.639, allocations: 0.5667 MB / 1.063 GB, free: 45.19 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01766/1.657, allocations: 4.381 MB / 1.068 GB, free: 45.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004644/1.661, allocations: 1.576 MB / 1.069 GB, free: 44.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0125/1.674, allocations: 3.742 MB / 1.073 GB, free: 43.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02775/1.702, allocations: 10.48 MB / 1.083 GB, free: 42.33 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/1.702, allocations: 0 / 1.083 GB, free: 42.33 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.886e-06/1.702, allocations: 3.875 kB / 1.083 GB, free: 42.33 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004509/1.702, allocations: 0 / 1.083 GB, free: 42.33 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.02235/1.725, allocations: 7.702 MB / 1.091 GB, free: 38.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.725, allocations: 11.77 kB / 1.091 GB, free: 38.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/1.728, allocations: 0.8203 MB / 1.091 GB, free: 38.36 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/1.743, allocations: 5.408 MB / 1.097 GB, free: 37.19 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.743, allocations: 326.1 kB / 1.097 GB, free: 37.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/1.744, allocations: 431.2 kB / 1.097 GB, free: 37.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009409/1.754, allocations: 4.382 MB / 1.102 GB, free: 36.38 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.754, allocations: 19.11 kB / 1.102 GB, free: 36.37 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004849/1.754, allocations: 173.9 kB / 1.102 GB, free: 36.37 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/1.755, allocations: 123.1 kB / 1.102 GB, free: 36.37 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006391/1.761, allocations: 2.957 MB / 1.105 GB, free: 36.34 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.03313/1.794, allocations: 25.16 MB / 1.129 GB, free: 20.45 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/1.798, allocations: 2.601 MB / 1.132 GB, free: 19.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.799, allocations: 0.8861 MB / 1.133 GB, free: 19.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002189/1.801, allocations: 3.909 MB / 1.137 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/1.801, allocations: 66.81 kB / 1.137 GB, free: 14.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 5.13e-06/1.801, allocations: 0 / 1.137 GB, free: 14.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01118/1.813, allocations: 4.08 MB / 1.141 GB, free: 13.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.813, allocations: 80.53 kB / 1.141 GB, free: 13.83 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007742/1.82, allocations: 4.298 MB / 1.145 GB, free: 13.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007396/1.821, allocations: 78.42 kB / 1.145 GB, free: 13.45 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.823, allocations: 2.82 MB / 1.148 GB, free: 12.54 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.824, allocations: 0.806 MB / 1.149 GB, free: 12.01 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009019/1.825, allocations: 0.5752 MB / 1.149 GB, free: 11.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/1.825, allocations: 309.6 kB / 1.149 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/1.827, allocations: 0.8217 MB / 1.15 GB, free: 11.63 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.829, allocations: 1.819 MB / 1.152 GB, free: 10.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.833, allocations: 2.513 MB / 1.154 GB, free: 9.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.833, allocations: 6.188 kB / 1.154 GB, free: 9.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008966/1.842, allocations: 3.57 MB / 1.158 GB, free: 9.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/1.842, allocations: 14.19 kB / 1.158 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/1.842, allocations: 24.44 kB / 1.158 GB, free: 9.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/1.844, allocations: 0.5813 MB / 1.159 GB, free: 9.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/1.846, allocations: 0.5594 MB / 1.159 GB, free: 9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.848, allocations: 2.691 MB / 1.162 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/1.852, allocations: 328.7 kB / 1.162 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/1.853, allocations: 134 kB / 1.162 GB, free: 6.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003439/1.856, allocations: 1.567 MB / 1.164 GB, free: 6.672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001846/1.858, allocations: 1.795 MB / 1.165 GB, free: 5.508 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003219/1.861, allocations: 2.462 MB / 1.168 GB, free: 4.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.378e-05/1.861, allocations: 5.375 kB / 1.168 GB, free: 4.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007031/1.868, allocations: 3.326 MB / 1.171 GB, free: 4.156 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.868, allocations: 16.41 kB / 1.171 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.868, allocations: 20.09 kB / 1.171 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008774/1.869, allocations: 372.9 kB / 1.171 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.871, allocations: 0.5527 MB / 1.172 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/1.878, allocations: 8.466 MB / 1.18 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/1.883, allocations: 300.6 kB / 1.181 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005621/1.884, allocations: 132.7 kB / 1.181 GB, free: 13.36 MB / 0.8106 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.00096/1.885, allocations: 373.9 kB / 1.181 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/1.887, allocations: 0.5298 MB / 1.182 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006734/1.894, allocations: 3.55 MB / 1.185 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/1.894, allocations: 31.98 kB / 1.185 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.894, allocations: 3.938 kB / 1.185 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004124/1.898, allocations: 2.426 MB / 1.187 GB, free: 9.906 MB / 0.8106 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.01867/1.917, allocations: 8.194 MB / 1.195 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.917, allocations: 4 kB / 1.195 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.918, allocations: 361.7 kB / 1.196 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007771/1.919, allocations: 298.9 kB / 1.196 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.919, allocations: 64.72 kB / 1.196 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/1.921, allocations: 2.495 MB / 1.199 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.921, allocations: 7.906 kB / 1.199 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009462/1.931, allocations: 4.345 MB / 1.203 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004863/1.935, allocations: 0.9107 MB / 1.204 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/1.938, allocations: 48 kB / 1.204 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/1.943, allocations: 123.8 kB / 1.204 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.944, allocations: 146 kB / 1.204 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004498/1.944, allocations: 115.9 kB / 1.204 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.007536/1.952, allocations: 2.851 MB / 1.207 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/1.952, allocations: 4 kB / 1.207 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01453/1.966, allocations: 3.265 MB / 1.21 GB, free: 5.445 MB / 0.8262 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.004184/1.971, allocations: 1.526 MB / 1.212 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009148/1.98, allocations: 4.146 MB / 1.216 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.98, allocations: 7.281 kB / 1.216 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002438/1.982, allocations: 1.112 MB / 1.217 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/1.997, allocations: 2.634 MB / 1.219 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/2.018, allocations: 9.268 MB / 1.228 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/2.022, allocations: 2.864 MB / 1.231 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.024, allocations: 430.7 kB / 1.232 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of SimCode: time 1.422e-06/2.024, allocations: 0 / 1.232 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.6964/2.72, allocations: 192.8 MB / 1.42 GB, free: 480.9 MB / 1.014 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)