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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007824, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008116/0.0008117, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7452/0.7452, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003056, allocations: 12.69 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4486, allocations: 81.58 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0368/0.4855, allocations: 38.31 MB / 0.6206 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01537/0.5009, allocations: 9.729 MB / 0.6301 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.5036, allocations: 48.41 kB / 0.6301 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.5055, allocations: 466.9 kB / 0.6306 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.511, allocations: 1.468 MB / 0.632 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.514, allocations: 0.8659 MB / 0.6328 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.5192, allocations: 3.845 MB / 0.6366 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.5208, allocations: 0.7438 MB / 0.6373 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.5235, allocations: 0.9838 MB / 0.6383 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.5252, allocations: 0.8127 MB / 0.6391 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.5254, allocations: 40 kB / 0.6391 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.5274, allocations: 490.9 kB / 0.6396 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.5278, allocations: 203 kB / 0.6398 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.5283, allocations: 261.1 kB / 0.64 GB, free: 6.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.5302, allocations: 1.368 MB / 0.6414 GB, free: 4.836 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5303, allocations: 4 kB / 0.6414 GB, free: 4.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5303, allocations: 0 / 0.6414 GB, free: 4.832 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.5303, allocations: 0 / 0.6414 GB, free: 4.832 MB / 478.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.002254/0.5326, allocations: 1.32 MB / 0.6426 GB, free: 3.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.5326, allocations: 8.031 kB / 0.6427 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.5328, allocations: 114.5 kB / 0.6428 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.5332, allocations: 134.6 kB / 0.6429 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.5348, allocations: 1.041 MB / 0.6439 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.5349, allocations: 50 kB / 0.644 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.535, allocations: 75.91 kB / 0.644 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5363, allocations: 0.7983 MB / 0.6448 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5364, allocations: 3.938 kB / 0.6448 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.5364, allocations: 32 kB / 0.6448 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.5365, allocations: 19.94 kB / 0.6449 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5376, allocations: 0.5828 MB / 0.6454 GB, free: 0.5195 MB / 478.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.003946/0.5415, allocations: 3.555 MB / 0.6489 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.5421, allocations: 266.6 kB / 0.6492 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5425, allocations: 188.8 kB / 0.6493 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004807/0.5429, allocations: 0.6609 MB / 0.65 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.543, allocations: 34.5 kB / 0.65 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.543, allocations: 4 kB / 0.65 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001113/0.5441, allocations: 0.5489 MB / 0.6506 GB, free: 10.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5442, allocations: 55.41 kB / 0.6506 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5453, allocations: 0.9221 MB / 0.6515 GB, free: 9.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.5454, allocations: 33.7 kB / 0.6515 GB, free: 9.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.5458, allocations: 0.4957 MB / 0.652 GB, free: 9.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5459, allocations: 114.4 kB / 0.6521 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.5459, allocations: 12 kB / 0.6521 GB, free: 9.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.546, allocations: 326 kB / 0.6525 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.5464, allocations: 173 kB / 0.6526 GB, free: 8.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.5468, allocations: 358.9 kB / 0.653 GB, free: 8.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.5472, allocations: 227.8 kB / 0.6532 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5473, allocations: 8 kB / 0.6532 GB, free: 8.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001064/0.5483, allocations: 0.6309 MB / 0.6538 GB, free: 7.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5484, allocations: 12.12 kB / 0.6538 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5484, allocations: 4 kB / 0.6538 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.5484, allocations: 8 kB / 0.6538 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.5488, allocations: 127.8 kB / 0.654 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.5489, allocations: 11.94 kB / 0.654 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/0.5495, allocations: 115.2 kB / 0.6541 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.5496, allocations: 31.95 kB / 0.6541 GB, free: 7.102 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.55, allocations: 278.4 kB / 0.6544 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.5502, allocations: 102.8 kB / 0.6545 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.5511, allocations: 0.4916 MB / 0.6549 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5511, allocations: 4 kB / 0.655 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5511, allocations: 0 / 0.655 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000667/0.5518, allocations: 475 kB / 0.6554 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.5539, allocations: 1.375 MB / 0.6567 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5539, allocations: 4 kB / 0.6568 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.5542, allocations: 88.03 kB / 0.6568 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.5542, allocations: 4 kB / 0.6568 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.5542, allocations: 11.95 kB / 0.6568 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5543, allocations: 4 kB / 0.6569 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5543, allocations: 0 / 0.6569 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5555, allocations: 0.8009 MB / 0.6576 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.5559, allocations: 239.7 kB / 0.6579 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.556, allocations: 4 kB / 0.6579 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.5566, allocations: 67.89 kB / 0.6579 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.5566, allocations: 27.97 kB / 0.658 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.5567, allocations: 20.05 kB / 0.658 GB, free: 2.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008749/0.5576, allocations: 0.6432 MB / 0.6586 GB, free: 2.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5576, allocations: 0 / 0.6586 GB, free: 2.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001045/0.5586, allocations: 331.4 kB / 0.6589 GB, free: 2 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002275/0.5609, allocations: 1.597 MB / 0.6605 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.5619, allocations: 444.4 kB / 0.6609 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5619, allocations: 0 / 0.6609 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.5622, allocations: 193.3 kB / 0.6611 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.5647, allocations: 0.593 MB / 0.6617 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.5746, allocations: 5.484 MB / 0.667 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.5752, allocations: 1.032 MB / 0.668 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008724/0.5761, allocations: 192 kB / 0.6682 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.5766, allocations: 375.2 kB / 0.6686 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.5766, allocations: 0 / 0.6686 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0473/0.6239, allocations: 28.93 MB / 0.6968 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.6241, allocations: 233.6 kB / 0.697 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.038, allocations: 0 / 0.697 GB, free: 11.11 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: