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.001366/0.001366, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001361/0.001361, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8325/0.8325, allocations: 135.1 MB / 426.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3809, allocations: 80.91 MB / 0.585 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6137/0.9947, allocations: 300.3 MB / 0.8783 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.07114/1.066, allocations: 49.96 MB / 0.927 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0152/1.081, allocations: 298.2 kB / 0.9273 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0145/1.096, allocations: 3.423 MB / 0.9307 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.03814/1.134, allocations: 9.022 MB / 0.9395 GB, free: 452 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02448/1.158, allocations: 6.568 MB / 0.9459 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02917/1.188, allocations: 18.44 MB / 0.9639 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/1.2, allocations: 5.85 MB / 0.9696 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01977/1.22, allocations: 7.359 MB / 0.9768 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00949/1.229, allocations: 5.075 MB / 0.9818 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003059/1.232, allocations: 0.5703 MB / 0.9823 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.013/1.245, allocations: 4.379 MB / 0.9866 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003148/1.248, allocations: 1.502 MB / 0.9881 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009384/1.258, allocations: 3.736 MB / 0.9917 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02374/1.282, allocations: 10.31 MB / 1.002 GB, free: 476 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.282, allocations: 0 / 1.002 GB, free: 476 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.994e-06/1.282, allocations: 4 kB / 1.002 GB, free: 472 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004483/1.282, allocations: 0 / 1.002 GB, free: 472 kB / 0.7012 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.0192/1.301, allocations: 7.482 MB / 1.009 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/1.301, allocations: 9.109 kB / 1.009 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/1.305, allocations: 0.7881 MB / 1.01 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.317, allocations: 5.041 MB / 1.015 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/1.317, allocations: 328.1 kB / 1.015 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/1.318, allocations: 428 kB / 1.016 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.33, allocations: 4.386 MB / 1.02 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/1.33, allocations: 15.84 kB / 1.02 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009091/1.331, allocations: 172 kB / 1.02 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/1.331, allocations: 119.9 kB / 1.02 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/1.339, allocations: 2.961 MB / 1.023 GB, free: 10.24 MB / 0.7325 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.3728/1.712, allocations: 25.28 MB / 1.048 GB, free: 286.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/1.716, allocations: 2.756 MB / 1.05 GB, free: 285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/1.717, allocations: 0.9942 MB / 1.051 GB, free: 284.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/1.72, allocations: 3.906 MB / 1.055 GB, free: 280.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/1.72, allocations: 61.72 kB / 1.055 GB, free: 280.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=217): time 4.188e-06/1.72, allocations: 0 / 1.055 GB, free: 280.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=217): time 0.01042/1.73, allocations: 4.078 MB / 1.059 GB, free: 278.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.73, allocations: 77.12 kB / 1.059 GB, free: 278.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/1.736, allocations: 4.3 MB / 1.063 GB, free: 276.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006414/1.737, allocations: 84.47 kB / 1.064 GB, free: 276.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/1.739, allocations: 2.78 MB / 1.066 GB, free: 274.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.74, allocations: 0.7637 MB / 1.067 GB, free: 273.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/1.741, allocations: 0.5691 MB / 1.068 GB, free: 273.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.741, allocations: 310.9 kB / 1.068 GB, free: 272.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.742, allocations: 0.826 MB / 1.069 GB, free: 272.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.744, allocations: 1.819 MB / 1.07 GB, free: 270.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/1.747, allocations: 2.515 MB / 1.073 GB, free: 269 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.747, allocations: 3.969 kB / 1.073 GB, free: 269 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007236/1.754, allocations: 3.556 MB / 1.076 GB, free: 267.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.754, allocations: 19.78 kB / 1.076 GB, free: 267.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.754, allocations: 19.75 kB / 1.076 GB, free: 267.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/1.756, allocations: 0.5876 MB / 1.077 GB, free: 266.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.758, allocations: 0.5545 MB / 1.078 GB, free: 266.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/1.76, allocations: 2.683 MB / 1.08 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/1.764, allocations: 338.7 kB / 1.08 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/1.764, allocations: 133.9 kB / 1.081 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002845/1.767, allocations: 1.567 MB / 1.082 GB, free: 263.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/1.769, allocations: 1.798 MB / 1.084 GB, free: 261.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002926/1.771, allocations: 2.461 MB / 1.086 GB, free: 259.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.191e-05/1.772, allocations: 5.812 kB / 1.086 GB, free: 259.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005974/1.777, allocations: 3.323 MB / 1.09 GB, free: 257.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.778, allocations: 12 kB / 1.09 GB, free: 257.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.778, allocations: 24 kB / 1.09 GB, free: 257.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/1.778, allocations: 366.9 kB / 1.09 GB, free: 257.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.78, allocations: 0.5577 MB / 1.09 GB, free: 256.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/1.786, allocations: 8.46 MB / 1.099 GB, free: 247.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/1.79, allocations: 304.2 kB / 1.099 GB, free: 247.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004306/1.791, allocations: 132 kB / 1.099 GB, free: 247.5 MB / 0.7325 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.0008986/1.792, allocations: 379.5 kB / 1.1 GB, free: 247.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/1.794, allocations: 0.5055 MB / 1.1 GB, free: 246.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/1.8, allocations: 3.565 MB / 1.103 GB, free: 243 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/1.8, allocations: 39.97 kB / 1.104 GB, free: 243 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.8, allocations: 0 / 1.104 GB, free: 243 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003379/1.804, allocations: 2.442 MB / 1.106 GB, free: 240.5 MB / 0.7325 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.01361/1.817, allocations: 8.248 MB / 1.114 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.817, allocations: 0 / 1.114 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.819, allocations: 369.9 kB / 1.114 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006516/1.819, allocations: 306.1 kB / 1.115 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/1.82, allocations: 67.97 kB / 1.115 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/1.821, allocations: 2.494 MB / 1.117 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.821, allocations: 0 / 1.117 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/1.827, allocations: 4.333 MB / 1.121 GB, free: 224.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.829, allocations: 0.8806 MB / 1.122 GB, free: 223.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.831, allocations: 44.84 kB / 1.122 GB, free: 223.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00302/1.834, allocations: 127.1 kB / 1.122 GB, free: 223.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.834, allocations: 156.5 kB / 1.123 GB, free: 223.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.834, allocations: 107.9 kB / 1.123 GB, free: 223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004717/1.839, allocations: 2.848 MB / 1.125 GB, free: 220.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.839, allocations: 0 / 1.125 GB, free: 220.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008839/1.848, allocations: 3.232 MB / 1.129 GB, free: 217 MB / 0.7325 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.002943/1.851, allocations: 1.515 MB / 1.13 GB, free: 215.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.862, allocations: 4.878 MB / 1.135 GB, free: 211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.862, allocations: 3.938 kB / 1.135 GB, free: 211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/1.864, allocations: 1.232 MB / 1.136 GB, free: 209.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/1.878, allocations: 2.635 MB / 1.139 GB, free: 207.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.893, allocations: 9.232 MB / 1.148 GB, free: 198.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/1.895, allocations: 2.862 MB / 1.15 GB, free: 195.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.897, allocations: 435.1 kB / 1.151 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.897, allocations: 0 / 1.151 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.1804/2.077, allocations: 191.7 MB / 1.338 GB, free: 3.328 MB / 0.7325 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)