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.001071/0.001071, allocations: 106.6 kB / 16.41 MB, free: 6.477 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.001102/0.001102, allocations: 191 kB / 17.34 MB, free: 5.754 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7957/0.7957, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 69.75 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6277/0.7915, allocations: 300.3 MB / 0.9586 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07059/0.8622, allocations: 49.94 MB / 1.007 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01165/0.8739, allocations: 298.2 kB / 1.008 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.8858, allocations: 3.415 MB / 1.011 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02973/0.9156, allocations: 9.019 MB / 1.02 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02005/0.9357, allocations: 6.628 MB / 1.026 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02878/0.9645, allocations: 18.46 MB / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5356/1.5, allocations: 5.846 MB / 1.05 GB, free: 46.35 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02139/1.522, allocations: 7.548 MB / 1.057 GB, free: 46.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/1.534, allocations: 5.09 MB / 1.062 GB, free: 45.85 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003507/1.538, allocations: 0.5697 MB / 1.063 GB, free: 45.85 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/1.554, allocations: 4.376 MB / 1.067 GB, free: 45.85 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003962/1.558, allocations: 1.509 MB / 1.069 GB, free: 45.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/1.569, allocations: 3.735 MB / 1.072 GB, free: 44.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/1.591, allocations: 10.44 MB / 1.083 GB, free: 43.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.591, allocations: 2.156 kB / 1.083 GB, free: 43.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.914e-06/1.591, allocations: 0.6875 kB / 1.083 GB, free: 43.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004165/1.592, allocations: 2.812 kB / 1.083 GB, free: 43.32 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.01748/1.609, allocations: 7.478 MB / 1.09 GB, free: 39.93 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.609, allocations: 9.422 kB / 1.09 GB, free: 39.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/1.612, allocations: 0.7914 MB / 1.091 GB, free: 39.55 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/1.625, allocations: 5.346 MB / 1.096 GB, free: 38.44 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/1.625, allocations: 322.7 kB / 1.096 GB, free: 38.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009646/1.626, allocations: 432.8 kB / 1.097 GB, free: 38.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008181/1.634, allocations: 4.386 MB / 1.101 GB, free: 37.62 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.634, allocations: 16.62 kB / 1.101 GB, free: 37.62 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/1.635, allocations: 174.9 kB / 1.101 GB, free: 37.62 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/1.635, allocations: 127.3 kB / 1.101 GB, free: 37.62 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005356/1.64, allocations: 2.959 MB / 1.104 GB, free: 37.58 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.02813/1.668, allocations: 25.11 MB / 1.129 GB, free: 21.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/1.671, allocations: 2.771 MB / 1.131 GB, free: 20.55 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.673, allocations: 0.9936 MB / 1.132 GB, free: 20.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002199/1.675, allocations: 3.903 MB / 1.136 GB, free: 16.13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.675, allocations: 75.83 kB / 1.136 GB, free: 16.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.87e-06/1.675, allocations: 0 / 1.136 GB, free: 16.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01022/1.685, allocations: 4.058 MB / 1.14 GB, free: 15.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.685, allocations: 73.72 kB / 1.14 GB, free: 15.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007984/1.693, allocations: 4.305 MB / 1.144 GB, free: 14.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007439/1.694, allocations: 78.89 kB / 1.144 GB, free: 14.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/1.696, allocations: 2.771 MB / 1.147 GB, free: 13.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.697, allocations: 0.761 MB / 1.148 GB, free: 13.42 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008801/1.698, allocations: 0.57 MB / 1.148 GB, free: 13.37 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/1.698, allocations: 301.1 kB / 1.149 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.7, allocations: 0.825 MB / 1.15 GB, free: 13.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.702, allocations: 1.823 MB / 1.151 GB, free: 11.88 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/1.705, allocations: 2.517 MB / 1.154 GB, free: 11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.705, allocations: 7.812 kB / 1.154 GB, free: 11 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00788/1.713, allocations: 3.547 MB / 1.157 GB, free: 10.51 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.713, allocations: 13.69 kB / 1.157 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.713, allocations: 21.53 kB / 1.157 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.715, allocations: 0.5852 MB / 1.158 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.717, allocations: 0.5595 MB / 1.158 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.719, allocations: 2.686 MB / 1.161 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.723, allocations: 326.2 kB / 1.161 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/1.724, allocations: 137.6 kB / 1.161 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003606/1.727, allocations: 1.569 MB / 1.163 GB, free: 8.105 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001849/1.729, allocations: 1.795 MB / 1.165 GB, free: 6.938 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003026/1.732, allocations: 2.463 MB / 1.167 GB, free: 6.059 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.005e-05/1.732, allocations: 6.938 kB / 1.167 GB, free: 6.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006519/1.739, allocations: 3.32 MB / 1.17 GB, free: 5.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.739, allocations: 15.12 kB / 1.17 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/1.739, allocations: 22.69 kB / 1.17 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/1.74, allocations: 361.4 kB / 1.171 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.741, allocations: 0.5511 MB / 1.171 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/1.748, allocations: 8.461 MB / 1.18 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.753, allocations: 295.9 kB / 1.18 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005381/1.754, allocations: 135.3 kB / 1.18 GB, free: 14.87 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.000973/1.755, allocations: 366.3 kB / 1.18 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/1.757, allocations: 0.5055 MB / 1.181 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/1.763, allocations: 3.568 MB / 1.184 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.897e-05/1.763, allocations: 36.16 kB / 1.184 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.763, allocations: 3.938 kB / 1.184 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003844/1.767, allocations: 2.431 MB / 1.187 GB, free: 11.1 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.01654/1.784, allocations: 8.2 MB / 1.195 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.784, allocations: 4.094 kB / 1.195 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.785, allocations: 361.3 kB / 1.195 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007072/1.786, allocations: 305.7 kB / 1.195 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.786, allocations: 68.47 kB / 1.195 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/1.788, allocations: 2.491 MB / 1.198 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.788, allocations: 2.719 kB / 1.198 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008194/1.796, allocations: 4.336 MB / 1.202 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/1.799, allocations: 0.8806 MB / 1.203 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.801, allocations: 44 kB / 1.203 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.804, allocations: 123.8 kB / 1.203 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.804, allocations: 152.6 kB / 1.203 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003232/1.805, allocations: 115.9 kB / 1.203 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005742/1.81, allocations: 2.848 MB / 1.206 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/1.81, allocations: 0 / 1.206 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01266/1.823, allocations: 3.238 MB / 1.209 GB, free: 6.379 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.004065/1.827, allocations: 1.503 MB / 1.211 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008489/1.836, allocations: 4.432 MB / 1.215 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.836, allocations: 0 / 1.215 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.838, allocations: 1.236 MB / 1.216 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01366/1.852, allocations: 2.625 MB / 1.219 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.869, allocations: 9.095 MB / 1.228 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/1.872, allocations: 2.858 MB / 1.231 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.874, allocations: 436.1 kB / 1.231 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of SimCode: time 1.763e-06/1.874, allocations: 0 / 1.231 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of Templates: time 0.7014/2.576, allocations: 193.1 MB / 1.42 GB, free: 480.8 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)