Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001319/0.001319, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001286/0.001286, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.302/1.302, 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/package.mo): time 0.8168/0.8168, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.19 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04078/0.2024, allocations: 41.57 MB / 0.7009 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.2172, allocations: 10.38 MB / 0.7111 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.2197, allocations: 55.69 kB / 0.7111 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2218, allocations: 0.6326 MB / 0.7117 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.2272, allocations: 1.885 MB / 0.7136 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.2307, allocations: 1.182 MB / 0.7147 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005187/0.2359, allocations: 3.391 MB / 0.7181 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.2379, allocations: 1.056 MB / 0.7191 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.2421, allocations: 1.266 MB / 0.7203 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.244, allocations: 0.8867 MB / 0.7212 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.2444, allocations: 100 kB / 0.7213 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.2471, allocations: 0.8695 MB / 0.7221 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.2476, allocations: 279 kB / 0.7224 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.249, allocations: 0.626 MB / 0.723 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.2529, allocations: 1.936 MB / 0.7249 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2529, allocations: 0 / 0.7249 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.967e-06/0.253, allocations: 0 / 0.7249 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.089e-05/0.253, allocations: 3.938 kB / 0.7249 GB, free: 7.922 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.00336/0.2564, allocations: 1.517 MB / 0.7264 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2564, allocations: 8.031 kB / 0.7264 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.2569, allocations: 135.4 kB / 0.7265 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.259, allocations: 1.103 MB / 0.7276 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.2591, allocations: 65.91 kB / 0.7277 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2592, allocations: 72 kB / 0.7277 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.2607, allocations: 0.7866 MB / 0.7285 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.2607, allocations: 4 kB / 0.7285 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.2608, allocations: 28 kB / 0.7285 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.2609, allocations: 16 kB / 0.7285 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.262, allocations: 0.575 MB / 0.7291 GB, free: 3.488 MB / 0.5606 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.004373/0.2664, allocations: 3.547 MB / 0.7326 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.267, allocations: 274.2 kB / 0.7328 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.2674, allocations: 178.6 kB / 0.733 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.2679, allocations: 0.6492 MB / 0.7336 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2679, allocations: 38.56 kB / 0.7337 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.2679, allocations: 0 / 0.7337 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001235/0.2692, allocations: 0.5184 MB / 0.7342 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2692, allocations: 55.41 kB / 0.7342 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.2703, allocations: 0.9533 MB / 0.7352 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.2704, allocations: 33.7 kB / 0.7352 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.2708, allocations: 0.4957 MB / 0.7357 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2709, allocations: 110.4 kB / 0.7358 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2711, allocations: 114.1 kB / 0.7359 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2712, allocations: 326 kB / 0.7362 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.2716, allocations: 165 kB / 0.7364 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.2721, allocations: 355.8 kB / 0.7367 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.2729, allocations: 0.5042 MB / 0.7372 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2729, allocations: 3.938 kB / 0.7372 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001723/0.2746, allocations: 0.6092 MB / 0.7378 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2747, allocations: 8 kB / 0.7378 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2747, allocations: 4.688 kB / 0.7378 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.972e-05/0.2748, allocations: 11.98 kB / 0.7378 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.2753, allocations: 127.8 kB / 0.7379 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/0.2753, allocations: 15.88 kB / 0.738 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.2761, allocations: 83.19 kB / 0.738 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.2762, allocations: 31.98 kB / 0.7381 GB, free: 9.703 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.0004605/0.2766, allocations: 265.7 kB / 0.7383 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2768, allocations: 106.7 kB / 0.7384 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/0.2778, allocations: 491.5 kB / 0.7389 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.2778, allocations: 4 kB / 0.7389 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2778, allocations: 3.938 kB / 0.7389 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008183/0.2786, allocations: 455 kB / 0.7393 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.2808, allocations: 1.366 MB / 0.7407 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2809, allocations: 0 / 0.7407 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.2812, allocations: 71.89 kB / 0.7407 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.2812, allocations: 4 kB / 0.7407 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2813, allocations: 8 kB / 0.7407 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.2813, allocations: 4 kB / 0.7407 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.2813, allocations: 8.047 kB / 0.7408 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.2825, allocations: 0.7748 MB / 0.7415 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.2829, allocations: 227.8 kB / 0.7417 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.2831, allocations: 15.94 kB / 0.7417 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.2836, allocations: 31.95 kB / 0.7418 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.2837, allocations: 23.97 kB / 0.7418 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.2837, allocations: 19.98 kB / 0.7418 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008327/0.2846, allocations: 0.6628 MB / 0.7425 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2846, allocations: 0 / 0.7425 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001097/0.2857, allocations: 335.5 kB / 0.7428 GB, free: 4.699 MB / 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.0007757/0.2865, allocations: 398.3 kB / 0.7432 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008865/0.2874, allocations: 431.4 kB / 0.7436 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2874, allocations: 0 / 0.7436 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.2878, allocations: 197.4 kB / 0.7438 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.2906, allocations: 0.6042 MB / 0.7444 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.2935, allocations: 1.607 MB / 0.7459 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.2942, allocations: 1.036 MB / 0.7469 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.2944, allocations: 87.41 kB / 0.747 GB, free: 324 kB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.2944, allocations: 0 / 0.747 GB, free: 324 kB / 0.5762 GB Notification: Performance of Templates: time 0.3621/0.6565, allocations: 18.08 MB / 0.7647 GB, free: 77.49 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)