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.008113/0.008114, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001823/0.001823, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.22 kB / 0.5814 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 80.21 MB / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6408/0.7845, allocations: 300.3 MB / 0.953 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.06919/0.8538, allocations: 49.95 MB / 1.002 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009596/0.8634, allocations: 298.2 kB / 1.002 GB, free: 204 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/0.8737, allocations: 3.521 MB / 1.005 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02828/0.9021, allocations: 9.466 MB / 1.015 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02093/0.923, allocations: 6.692 MB / 1.021 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02728/0.9503, allocations: 18.51 MB / 1.039 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.9606, allocations: 5.851 MB / 1.045 GB, free: 3.992 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4856/1.446, allocations: 7.563 MB / 1.052 GB, free: 47.8 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/1.458, allocations: 5.092 MB / 1.057 GB, free: 47.8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003563/1.462, allocations: 0.5663 MB / 1.058 GB, free: 47.8 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/1.479, allocations: 4.383 MB / 1.062 GB, free: 47.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004347/1.483, allocations: 1.509 MB / 1.064 GB, free: 47.8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01409/1.497, allocations: 3.742 MB / 1.067 GB, free: 46.97 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02596/1.523, allocations: 10.43 MB / 1.078 GB, free: 45.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.524, allocations: 0 / 1.078 GB, free: 45.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.626e-06/1.524, allocations: 0 / 1.078 GB, free: 45.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004238/1.524, allocations: 3.938 kB / 1.078 GB, free: 45.76 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.02034/1.544, allocations: 7.479 MB / 1.085 GB, free: 42.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.544, allocations: 10.44 kB / 1.085 GB, free: 42.36 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/1.549, allocations: 0.7825 MB / 1.086 GB, free: 41.99 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.562, allocations: 5.354 MB / 1.091 GB, free: 40.89 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/1.562, allocations: 321.3 kB / 1.091 GB, free: 40.88 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/1.564, allocations: 430.8 kB / 1.092 GB, free: 40.88 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/1.575, allocations: 4.379 MB / 1.096 GB, free: 40.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/1.576, allocations: 18.58 kB / 1.096 GB, free: 40.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/1.576, allocations: 174.8 kB / 1.096 GB, free: 40.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/1.576, allocations: 123 kB / 1.096 GB, free: 40.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/1.582, allocations: 2.961 MB / 1.099 GB, free: 40.03 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.02587/1.608, allocations: 25.12 MB / 1.124 GB, free: 24.2 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.611, allocations: 2.762 MB / 1.126 GB, free: 23.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.612, allocations: 0.9954 MB / 1.127 GB, free: 23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002079/1.614, allocations: 3.906 MB / 1.131 GB, free: 18.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.614, allocations: 74.38 kB / 1.131 GB, free: 18.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.047e-06/1.614, allocations: 1.406 kB / 1.131 GB, free: 18.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01025/1.624, allocations: 4.068 MB / 1.135 GB, free: 17.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.624, allocations: 73.31 kB / 1.135 GB, free: 17.62 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006544/1.631, allocations: 4.297 MB / 1.139 GB, free: 17.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005661/1.632, allocations: 82.55 kB / 1.139 GB, free: 17.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.633, allocations: 2.776 MB / 1.142 GB, free: 16.37 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.634, allocations: 0.7559 MB / 1.143 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007849/1.635, allocations: 0.5769 MB / 1.143 GB, free: 15.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/1.635, allocations: 303.2 kB / 1.144 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.636, allocations: 0.8187 MB / 1.145 GB, free: 15.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/1.638, allocations: 1.817 MB / 1.146 GB, free: 14.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/1.642, allocations: 2.515 MB / 1.149 GB, free: 13.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/1.642, allocations: 7.406 kB / 1.149 GB, free: 13.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007791/1.65, allocations: 3.548 MB / 1.152 GB, free: 12.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.65, allocations: 16.56 kB / 1.152 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.65, allocations: 21.09 kB / 1.152 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/1.652, allocations: 0.5862 MB / 1.153 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.654, allocations: 0.5525 MB / 1.153 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/1.656, allocations: 2.681 MB / 1.156 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/1.66, allocations: 333.5 kB / 1.156 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.66, allocations: 137.1 kB / 1.156 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002937/1.663, allocations: 1.564 MB / 1.158 GB, free: 10.57 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00174/1.665, allocations: 1.801 MB / 1.16 GB, free: 9.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002925/1.668, allocations: 2.468 MB / 1.162 GB, free: 8.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.271e-05/1.668, allocations: 6.469 kB / 1.162 GB, free: 8.527 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005999/1.674, allocations: 3.317 MB / 1.165 GB, free: 8.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.674, allocations: 15.38 kB / 1.165 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.674, allocations: 21.97 kB / 1.165 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000906/1.675, allocations: 370.8 kB / 1.166 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.676, allocations: 0.5454 MB / 1.166 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/1.682, allocations: 8.455 MB / 1.175 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.687, allocations: 306.1 kB / 1.175 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/1.687, allocations: 132.9 kB / 1.175 GB, free: 1.609 MB / 0.795 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.0008193/1.688, allocations: 362.4 kB / 1.175 GB, free: 1.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/1.69, allocations: 0.5012 MB / 1.176 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/1.695, allocations: 3.56 MB / 1.179 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/1.695, allocations: 39.41 kB / 1.179 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.695, allocations: 3.938 kB / 1.179 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003404/1.699, allocations: 2.437 MB / 1.182 GB, free: 0.5156 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 postOpt removeSimpleEquations (simulation): time 0.01367/1.712, allocations: 8.196 MB / 1.19 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.713, allocations: 0 / 1.19 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.714, allocations: 368.5 kB / 1.19 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/1.715, allocations: 303.6 kB / 1.19 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.715, allocations: 72.66 kB / 1.19 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.717, allocations: 2.484 MB / 1.193 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.717, allocations: 7.922 kB / 1.193 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007985/1.725, allocations: 4.335 MB / 1.197 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/1.727, allocations: 0.8779 MB / 1.198 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.729, allocations: 44.25 kB / 1.198 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.732, allocations: 123.4 kB / 1.198 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/1.732, allocations: 155.6 kB / 1.198 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/1.733, allocations: 114.2 kB / 1.198 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005361/1.738, allocations: 2.846 MB / 1.201 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/1.738, allocations: 0 / 1.201 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01021/1.748, allocations: 3.238 MB / 1.204 GB, free: 180 kB / 0.8106 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.003356/1.752, allocations: 1.507 MB / 1.206 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008211/1.76, allocations: 4.43 MB / 1.21 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.76, allocations: 4.312 kB / 1.21 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.762, allocations: 1.233 MB / 1.211 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/1.777, allocations: 2.637 MB / 1.214 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.797, allocations: 9.007 MB / 1.223 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/1.8, allocations: 2.88 MB / 1.226 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005147/1.805, allocations: 1.156 MB / 1.227 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.806, allocations: 417 kB / 1.227 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of SimCode: time 7.71e-07/1.806, allocations: 0 / 1.227 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of Templates: time 0.1684/1.974, allocations: 105 MB / 1.33 GB, free: 1.996 MB / 0.9356 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)