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.001307/0.001307, allocations: 101.3 kB / 15.98 MB, free: 5.891 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.00148/0.00148, allocations: 190.5 kB / 16.91 MB, free: 5.746 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7274/0.7274, allocations: 132.2 MB / 422.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 58.62 kB / 0.5019 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 80.2 MB / 0.5802 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9539/1.12, allocations: 297.5 MB / 0.8707 GB, free: 50.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.06861/1.189, allocations: 49.64 MB / 0.9192 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01512/1.204, allocations: 280.9 kB / 0.9195 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/1.215, allocations: 2.941 MB / 0.9223 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.03004/1.246, allocations: 8.398 MB / 0.9305 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02124/1.267, allocations: 6.085 MB / 0.9365 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0298/1.297, allocations: 18.57 MB / 0.9546 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/1.308, allocations: 5.766 MB / 0.9602 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01984/1.328, allocations: 7.43 MB / 0.9675 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009931/1.338, allocations: 5.225 MB / 0.9726 GB, free: 28.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002568/1.341, allocations: 0.5648 MB / 0.9732 GB, free: 27.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/1.357, allocations: 4.45 MB / 0.9775 GB, free: 23.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004095/1.361, allocations: 1.509 MB / 0.979 GB, free: 22.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00977/1.371, allocations: 3.746 MB / 0.9826 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/1.384, allocations: 7.988 MB / 0.9904 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.384, allocations: 0 / 0.9904 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/1.384, allocations: 0 / 0.9904 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003759/1.385, allocations: 0 / 0.9904 GB, free: 10.99 MB / 0.6544 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.01447/1.399, allocations: 7.489 MB / 0.9977 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.399, allocations: 12.03 kB / 0.9978 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/1.402, allocations: 0.7803 MB / 0.9985 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.413, allocations: 5.211 MB / 1.004 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/1.413, allocations: 318.5 kB / 1.004 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009334/1.414, allocations: 438.9 kB / 1.004 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009718/1.424, allocations: 4.376 MB / 1.009 GB, free: 8.133 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/1.424, allocations: 19.81 kB / 1.009 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/1.424, allocations: 179.7 kB / 1.009 GB, free: 7.941 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/1.424, allocations: 116 kB / 1.009 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00632/1.431, allocations: 2.961 MB / 1.012 GB, free: 4.863 MB / 0.67 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.03246/1.463, allocations: 25.01 MB / 1.036 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.467, allocations: 2.757 MB / 1.039 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.468, allocations: 0.9993 MB / 1.04 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003066/1.471, allocations: 3.912 MB / 1.044 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.172e-05/1.471, allocations: 60.56 kB / 1.044 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 7.394e-06/1.471, allocations: 3.984 kB / 1.044 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01166/1.483, allocations: 4.066 MB / 1.048 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.483, allocations: 77.39 kB / 1.048 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008557/1.492, allocations: 4.228 MB / 1.052 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005709/1.492, allocations: 81.7 kB / 1.052 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.495, allocations: 2.801 MB / 1.055 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.496, allocations: 0.7557 MB / 1.055 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007973/1.496, allocations: 0.5723 MB / 1.056 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.497, allocations: 305.1 kB / 1.056 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.498, allocations: 0.8231 MB / 1.057 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.5, allocations: 1.822 MB / 1.059 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/1.504, allocations: 2.517 MB / 1.061 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/1.504, allocations: 8 kB / 1.061 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008295/1.512, allocations: 3.547 MB / 1.065 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.512, allocations: 18.09 kB / 1.065 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/1.512, allocations: 24 kB / 1.065 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/1.515, allocations: 0.5974 MB / 1.065 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.517, allocations: 0.5539 MB / 1.066 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/1.519, allocations: 2.678 MB / 1.069 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/1.524, allocations: 0.5906 MB / 1.069 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005101/1.525, allocations: 140 kB / 1.069 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003273/1.528, allocations: 1.564 MB / 1.071 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002153/1.53, allocations: 1.798 MB / 1.073 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003291/1.533, allocations: 2.463 MB / 1.075 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.434e-05/1.533, allocations: 8 kB / 1.075 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006957/1.54, allocations: 3.31 MB / 1.078 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/1.54, allocations: 16 kB / 1.078 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.54, allocations: 20 kB / 1.078 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/1.541, allocations: 373.7 kB / 1.079 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.543, allocations: 0.5576 MB / 1.079 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008759/1.552, allocations: 8.452 MB / 1.087 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/1.557, allocations: 0.5627 MB / 1.088 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/1.557, allocations: 136 kB / 1.088 GB, free: 1.324 MB / 0.7481 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.0006943/1.558, allocations: 363.8 kB / 1.088 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.56, allocations: 0.5094 MB / 1.089 GB, free: 456 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006161/1.566, allocations: 3.582 MB / 1.092 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/1.566, allocations: 35.98 kB / 1.093 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.566, allocations: 0 / 1.093 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003635/1.57, allocations: 2.438 MB / 1.095 GB, free: 10.29 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 postOpt removeSimpleEquations (simulation): time 0.01445/1.584, allocations: 8.206 MB / 1.103 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.584, allocations: 0 / 1.103 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.586, allocations: 363.5 kB / 1.103 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007298/1.586, allocations: 305.7 kB / 1.104 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.586, allocations: 67.95 kB / 1.104 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.588, allocations: 2.498 MB / 1.106 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.588, allocations: 0 / 1.106 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007619/1.596, allocations: 4.335 MB / 1.11 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/1.599, allocations: 0.8806 MB / 1.111 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.6, allocations: 44 kB / 1.111 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/1.603, allocations: 422.9 kB / 1.112 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.604, allocations: 157.8 kB / 1.112 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.604, allocations: 103.9 kB / 1.112 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00493/1.609, allocations: 2.801 MB / 1.115 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.81e-07/1.609, allocations: 4.125 kB / 1.115 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01244/1.621, allocations: 3.257 MB / 1.118 GB, free: 2.477 MB / 0.7794 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.003358/1.625, allocations: 1.469 MB / 1.119 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.637, allocations: 4.86 MB / 1.124 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.637, allocations: 4.875 kB / 1.124 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.639, allocations: 1.239 MB / 1.125 GB, free: 10.97 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/1.652, allocations: 2.633 MB / 1.128 GB, free: 8.477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/1.67, allocations: 11.49 MB / 1.139 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/1.673, allocations: 2.858 MB / 1.142 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.674, allocations: 427.2 kB / 1.142 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of SimCode: time 9.12e-07/1.674, allocations: 0 / 1.142 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.4507/2.125, allocations: 190.7 MB / 1.328 GB, free: 213.7 MB / 0.8106 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)