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.00574/0.005745, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001261/0.001261, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8048/0.8048, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.5814 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4086, allocations: 80.2 MB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.643/1.052, allocations: 300.3 MB / 0.953 GB, free: 57.41 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05389/1.106, allocations: 49.95 MB / 1.002 GB, free: 28.17 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009951/1.116, allocations: 298.2 kB / 1.002 GB, free: 27.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.008764/1.124, allocations: 3.517 MB / 1.005 GB, free: 24.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02364/1.148, allocations: 9.472 MB / 1.015 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01525/1.163, allocations: 6.693 MB / 1.021 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02417/1.187, allocations: 18.51 MB / 1.039 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009829/1.197, allocations: 5.853 MB / 1.045 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01868/1.216, allocations: 7.571 MB / 1.052 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/1.227, allocations: 5.098 MB / 1.057 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002164/1.229, allocations: 0.5703 MB / 1.058 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/1.242, allocations: 4.383 MB / 1.062 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002772/1.245, allocations: 1.502 MB / 1.064 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.007083/1.252, allocations: 3.74 MB / 1.067 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.272, allocations: 10.45 MB / 1.078 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.272, allocations: 0 / 1.078 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.535e-06/1.272, allocations: 0 / 1.078 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002561/1.272, allocations: 0 / 1.078 GB, free: 14.28 MB / 0.7481 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.01457/1.286, allocations: 7.478 MB / 1.085 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.287, allocations: 12.03 kB / 1.085 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/1.289, allocations: 0.7803 MB / 1.086 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/1.3, allocations: 5.356 MB / 1.091 GB, free: 444 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/1.3, allocations: 320.1 kB / 1.091 GB, free: 120 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007294/1.301, allocations: 436 kB / 1.092 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007775/1.309, allocations: 4.377 MB / 1.096 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.382e-05/1.309, allocations: 15.88 kB / 1.096 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/1.309, allocations: 179.9 kB / 1.096 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/1.309, allocations: 116 kB / 1.096 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/1.314, allocations: 2.965 MB / 1.099 GB, free: 7.758 MB / 0.7637 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.02739/1.342, allocations: 25.11 MB / 1.124 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/1.345, allocations: 2.767 MB / 1.126 GB, free: 9.633 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.347, allocations: 0.9953 MB / 1.127 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003185/1.35, allocations: 3.912 MB / 1.131 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.8e-05/1.35, allocations: 60.56 kB / 1.131 GB, free: 3.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.608e-06/1.35, allocations: 0 / 1.131 GB, free: 3.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01047/1.36, allocations: 4.057 MB / 1.135 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/1.361, allocations: 73.41 kB / 1.135 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00694/1.367, allocations: 4.314 MB / 1.139 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/1.368, allocations: 81.7 kB / 1.139 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/1.37, allocations: 2.775 MB / 1.142 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/1.371, allocations: 0.7586 MB / 1.143 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/1.372, allocations: 0.5685 MB / 1.143 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.372, allocations: 305.1 kB / 1.144 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/1.373, allocations: 0.8309 MB / 1.145 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.376, allocations: 1.806 MB / 1.146 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.379, allocations: 2.517 MB / 1.149 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/1.379, allocations: 8 kB / 1.149 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007819/1.387, allocations: 3.555 MB / 1.152 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.387, allocations: 12 kB / 1.152 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/1.387, allocations: 32.14 kB / 1.152 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/1.39, allocations: 0.573 MB / 1.153 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.392, allocations: 0.5538 MB / 1.153 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/1.394, allocations: 2.701 MB / 1.156 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.397, allocations: 317.1 kB / 1.156 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/1.398, allocations: 140 kB / 1.156 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003044/1.401, allocations: 1.572 MB / 1.158 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002185/1.403, allocations: 1.791 MB / 1.16 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003473/1.406, allocations: 2.467 MB / 1.162 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/1.406, allocations: 4 kB / 1.162 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006898/1.413, allocations: 3.313 MB / 1.165 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.413, allocations: 13.72 kB / 1.165 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/1.413, allocations: 24 kB / 1.165 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009434/1.414, allocations: 371.3 kB / 1.166 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.416, allocations: 0.55 MB / 1.166 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008268/1.424, allocations: 8.447 MB / 1.175 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/1.428, allocations: 295 kB / 1.175 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.428, allocations: 139.9 kB / 1.175 GB, free: 4.324 MB / 0.8419 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.0007181/1.429, allocations: 373.1 kB / 1.175 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.431, allocations: 0.5016 MB / 1.176 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/1.437, allocations: 3.558 MB / 1.179 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/1.437, allocations: 35.97 kB / 1.179 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.437, allocations: 3.938 kB / 1.179 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003745/1.441, allocations: 2.431 MB / 1.182 GB, free: 13.3 MB / 0.8575 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.01407/1.455, allocations: 8.201 MB / 1.19 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.455, allocations: 0 / 1.19 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.456, allocations: 363.6 kB / 1.19 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/1.457, allocations: 311.1 kB / 1.19 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.457, allocations: 63.97 kB / 1.19 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.459, allocations: 2.494 MB / 1.193 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.459, allocations: 0 / 1.193 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3611/1.82, allocations: 4.332 MB / 1.197 GB, free: 343.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.822, allocations: 0.8819 MB / 1.198 GB, free: 343.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006684/1.822, allocations: 47.58 kB / 1.198 GB, free: 343.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.825, allocations: 117.4 kB / 1.198 GB, free: 343.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.825, allocations: 152.6 kB / 1.198 GB, free: 343.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.825, allocations: 118.2 kB / 1.198 GB, free: 343.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004871/1.83, allocations: 2.849 MB / 1.201 GB, free: 342.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/1.83, allocations: 0.875 kB / 1.201 GB, free: 342.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.009218/1.839, allocations: 3.233 MB / 1.204 GB, free: 341.9 MB / 0.8575 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.002792/1.842, allocations: 1.513 MB / 1.206 GB, free: 341.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007331/1.85, allocations: 4.428 MB / 1.21 GB, free: 339.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.85, allocations: 1.469 kB / 1.21 GB, free: 339.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.851, allocations: 1.231 MB / 1.211 GB, free: 339.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.863, allocations: 2.637 MB / 1.214 GB, free: 338.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/1.878, allocations: 9.002 MB / 1.223 GB, free: 334.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/1.88, allocations: 2.876 MB / 1.226 GB, free: 333.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004514/1.885, allocations: 1.156 MB / 1.227 GB, free: 333.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/1.885, allocations: 422.9 kB / 1.227 GB, free: 333.4 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/1.885, allocations: 0 / 1.227 GB, free: 333.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.1364/2.022, allocations: 105 MB / 1.33 GB, free: 242.7 MB / 0.8575 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)