Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.00178/0.00178, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8061/0.8061, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 66.98 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2169, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04916/0.2661, allocations: 41.55 MB / 0.7059 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.2829, allocations: 10.39 MB / 0.716 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.2854, allocations: 59.62 kB / 0.7161 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.2879, allocations: 0.6365 MB / 0.7167 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.2943, allocations: 1.874 MB / 0.7185 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.2979, allocations: 1.191 MB / 0.7197 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005281/0.3032, allocations: 3.387 MB / 0.723 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.3053, allocations: 1.067 MB / 0.7241 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3089, allocations: 1.266 MB / 0.7253 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.3106, allocations: 0.8789 MB / 0.7262 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003425/0.311, allocations: 100 kB / 0.7262 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.3135, allocations: 0.8695 MB / 0.7271 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.314, allocations: 283 kB / 0.7274 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.3153, allocations: 0.626 MB / 0.728 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.3192, allocations: 1.94 MB / 0.7299 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3192, allocations: 0 / 0.7299 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3192, allocations: 0 / 0.7299 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.635e-05/0.3193, allocations: 0 / 0.7299 GB, free: 3.449 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00357/0.3229, allocations: 1.515 MB / 0.7314 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3229, allocations: 9.109 kB / 0.7314 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.3235, allocations: 139.4 kB / 0.7315 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.3258, allocations: 1.099 MB / 0.7326 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.3258, allocations: 54 kB / 0.7326 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.326, allocations: 71.94 kB / 0.7327 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3275, allocations: 0.7945 MB / 0.7335 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.3275, allocations: 3.938 kB / 0.7335 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.3276, allocations: 32 kB / 0.7335 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.3277, allocations: 19.94 kB / 0.7335 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.3289, allocations: 0.575 MB / 0.7341 GB, free: 15 MB / 0.5762 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.004731/0.3336, allocations: 3.555 MB / 0.7375 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.3342, allocations: 260.7 kB / 0.7378 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.3346, allocations: 179 kB / 0.738 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.3351, allocations: 0.6576 MB / 0.7386 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3352, allocations: 34.56 kB / 0.7386 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.3352, allocations: 0 / 0.7386 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001269/0.3364, allocations: 0.5158 MB / 0.7391 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3365, allocations: 55.41 kB / 0.7392 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3379, allocations: 0.9494 MB / 0.7401 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.3379, allocations: 37.7 kB / 0.7402 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.3384, allocations: 0.4918 MB / 0.7406 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3385, allocations: 114.4 kB / 0.7408 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.3387, allocations: 110.2 kB / 0.7409 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3388, allocations: 330 kB / 0.7412 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3392, allocations: 165 kB / 0.7413 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.3396, allocations: 347 kB / 0.7417 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.3405, allocations: 0.5109 MB / 0.7422 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3405, allocations: 4 kB / 0.7422 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001233/0.3417, allocations: 0.6129 MB / 0.7428 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3418, allocations: 8 kB / 0.7428 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3418, allocations: 4.688 kB / 0.7428 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3418, allocations: 8 kB / 0.7428 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.3423, allocations: 131.8 kB / 0.7429 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.3423, allocations: 15.88 kB / 0.7429 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.3429, allocations: 83.19 kB / 0.743 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.343, allocations: 24 kB / 0.743 GB, free: 5.234 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.3434, allocations: 273.7 kB / 0.7433 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.3436, allocations: 102.8 kB / 0.7434 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009827/0.3446, allocations: 488.4 kB / 0.7439 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3446, allocations: 0 / 0.7439 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3446, allocations: 7.938 kB / 0.7439 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00072/0.3454, allocations: 459 kB / 0.7443 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3475, allocations: 1.359 MB / 0.7456 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3476, allocations: 4 kB / 0.7456 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.3479, allocations: 79.88 kB / 0.7457 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.3479, allocations: 0 / 0.7457 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.348, allocations: 12 kB / 0.7457 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.348, allocations: 3.938 kB / 0.7457 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.348, allocations: 8 kB / 0.7457 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.3493, allocations: 0.7797 MB / 0.7465 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.3497, allocations: 219.8 kB / 0.7467 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3499, allocations: 11.94 kB / 0.7467 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.3505, allocations: 31.97 kB / 0.7467 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3506, allocations: 23.97 kB / 0.7468 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.3506, allocations: 15.98 kB / 0.7468 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001084/0.3517, allocations: 0.6667 MB / 0.7474 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3517, allocations: 0 / 0.7474 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00122/0.353, allocations: 339.5 kB / 0.7478 GB, free: 224 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3267/0.6797, allocations: 383.8 kB / 0.7481 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.681, allocations: 421.2 kB / 0.7485 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.681, allocations: 0.75 kB / 0.7485 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.6814, allocations: 182 kB / 0.7487 GB, free: 81.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.6843, allocations: 0.6126 MB / 0.7493 GB, free: 81.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6869, allocations: 1.622 MB / 0.7509 GB, free: 80.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.6874, allocations: 1.032 MB / 0.7519 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.6876, allocations: 83.05 kB / 0.752 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.6877, allocations: 1.312 kB / 0.752 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.03574/0.7234, allocations: 18.25 MB / 0.7698 GB, free: 73.22 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)