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.00159/0.00159, allocations: 113.1 kB / 16.37 MB, free: 6.012 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.00183/0.00183, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.821/0.821, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3576, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03379/0.3914, allocations: 41.58 MB / 0.6221 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.4059, allocations: 10.37 MB / 0.6322 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.4077, allocations: 59.62 kB / 0.6323 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.4093, allocations: 0.6404 MB / 0.6329 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.4142, allocations: 1.873 MB / 0.6347 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.4172, allocations: 1.186 MB / 0.6359 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005067/0.4223, allocations: 3.387 MB / 0.6392 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.4242, allocations: 1.069 MB / 0.6403 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.4272, allocations: 1.228 MB / 0.6415 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4287, allocations: 0.8867 MB / 0.6423 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.4288, allocations: 100 kB / 0.6424 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.4313, allocations: 0.8617 MB / 0.6433 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.4316, allocations: 275 kB / 0.6435 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.4323, allocations: 0.6221 MB / 0.6441 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.4351, allocations: 1.94 MB / 0.646 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4352, allocations: 4 kB / 0.646 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4352, allocations: 3.938 kB / 0.646 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4352, allocations: 0 / 0.646 GB, free: 11.98 MB / 494.1 MB 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.002541/0.4377, allocations: 1.507 MB / 0.6475 GB, free: 10.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4378, allocations: 8.031 kB / 0.6475 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.4382, allocations: 143.4 kB / 0.6476 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.4401, allocations: 1.107 MB / 0.6487 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.4402, allocations: 61.98 kB / 0.6488 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4403, allocations: 72 kB / 0.6489 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.4416, allocations: 0.7905 MB / 0.6496 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4416, allocations: 3.938 kB / 0.6496 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.4417, allocations: 32 kB / 0.6497 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.4417, allocations: 23.98 kB / 0.6497 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.4428, allocations: 0.5672 MB / 0.6502 GB, free: 7.543 MB / 494.1 MB 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.004016/0.4469, allocations: 3.547 MB / 0.6537 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.4475, allocations: 254.4 kB / 0.6539 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.4478, allocations: 179.4 kB / 0.6541 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.4483, allocations: 0.6615 MB / 0.6548 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4484, allocations: 42.5 kB / 0.6548 GB, free: 2.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.4484, allocations: 0 / 0.6548 GB, free: 2.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001192/0.4496, allocations: 0.5141 MB / 0.6553 GB, free: 1.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4496, allocations: 55.41 kB / 0.6554 GB, free: 1.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4509, allocations: 0.9493 MB / 0.6563 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.4509, allocations: 33.7 kB / 0.6563 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.4513, allocations: 0.4917 MB / 0.6568 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4514, allocations: 110.5 kB / 0.6569 GB, free: 280 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.4516, allocations: 118.1 kB / 0.657 GB, free: 156 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4517, allocations: 330 kB / 0.6573 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4521, allocations: 157 kB / 0.6575 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.4526, allocations: 350.9 kB / 0.6578 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.4535, allocations: 0.512 MB / 0.6583 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4535, allocations: 4 kB / 0.6583 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001136/0.4546, allocations: 0.6248 MB / 0.6589 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4547, allocations: 4 kB / 0.6589 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4547, allocations: 8 kB / 0.6589 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.4547, allocations: 8 kB / 0.6589 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.4551, allocations: 119.8 kB / 0.6591 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.4552, allocations: 12.38 kB / 0.6591 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.4558, allocations: 95.11 kB / 0.6592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.4558, allocations: 24 kB / 0.6592 GB, free: 13.77 MB / 0.4981 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.000394/0.4562, allocations: 277.6 kB / 0.6595 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4564, allocations: 102.8 kB / 0.6595 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.4574, allocations: 479.4 kB / 0.66 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4574, allocations: 7.984 kB / 0.66 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4574, allocations: 0 / 0.66 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007012/0.4581, allocations: 454.9 kB / 0.6604 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.4602, allocations: 1.367 MB / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4602, allocations: 0 / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.4605, allocations: 80.11 kB / 0.6619 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.4605, allocations: 8 kB / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4606, allocations: 11.98 kB / 0.6619 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4606, allocations: 7.938 kB / 0.6619 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4606, allocations: 0 / 0.6619 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4619, allocations: 0.7629 MB / 0.6626 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.4623, allocations: 227.8 kB / 0.6628 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.4624, allocations: 8 kB / 0.6629 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.4629, allocations: 40 kB / 0.6629 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.463, allocations: 27.91 kB / 0.6629 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.463, allocations: 15.98 kB / 0.6629 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008822/0.4639, allocations: 0.6628 MB / 0.6636 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4639, allocations: 0 / 0.6636 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001045/0.465, allocations: 339.4 kB / 0.6639 GB, free: 8.766 MB / 0.4981 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.0007316/0.4657, allocations: 396.1 kB / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008206/0.4665, allocations: 424.3 kB / 0.6647 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4665, allocations: 0 / 0.6647 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.4669, allocations: 183.8 kB / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.4692, allocations: 0.6117 MB / 0.6655 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4716, allocations: 1.59 MB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4721, allocations: 1.04 MB / 0.668 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005371/0.4727, allocations: 198.2 kB / 0.6682 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4728, allocations: 83.41 kB / 0.6683 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4728, allocations: 0 / 0.6683 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.03332/0.5062, allocations: 21.2 MB / 0.689 GB, free: 15.32 MB / 0.5294 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)