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-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_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.0007932/0.0007932, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0008364/0.0008364, allocations: 177.3 kB / 15.94 MB, free: 228 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.191/1.191, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8186/0.8186, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 8 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1458, allocations: 82.33 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.277/0.4228, allocations: 34.79 MB / 0.6212 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009027/0.4319, allocations: 8.935 MB / 0.6299 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4332, allocations: 52.78 kB / 0.6299 GB, free: 29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.4347, allocations: 0.6119 MB / 0.6305 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.4382, allocations: 1.817 MB / 0.6323 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.441, allocations: 1.35 MB / 0.6336 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.4432, allocations: 1.966 MB / 0.6356 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.444, allocations: 0.755 MB / 0.6363 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.445, allocations: 0.8881 MB / 0.6372 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.4455, allocations: 0.535 MB / 0.6377 GB, free: 24.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.4456, allocations: 38.72 kB / 0.6377 GB, free: 24.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4472, allocations: 0.5488 MB / 0.6383 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.4474, allocations: 191.1 kB / 0.6384 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.4476, allocations: 264.6 kB / 0.6387 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.4487, allocations: 1.354 MB / 0.64 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.4487, allocations: 3.938 kB / 0.64 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4487, allocations: 0 / 0.64 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.4487, allocations: 0 / 0.64 GB, free: 24.09 MB / 0.4981 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.001697/0.4504, allocations: 1.31 MB / 0.6413 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.4504, allocations: 9.094 kB / 0.6413 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.4507, allocations: 139.1 kB / 0.6414 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4519, allocations: 0.9777 MB / 0.6424 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.452, allocations: 59.02 kB / 0.6424 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.4521, allocations: 67.44 kB / 0.6425 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.4531, allocations: 0.7902 MB / 0.6433 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4531, allocations: 10.97 kB / 0.6433 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.4532, allocations: 30.22 kB / 0.6433 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.4532, allocations: 21.69 kB / 0.6433 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.4542, allocations: 0.5914 MB / 0.6439 GB, free: 21.88 MB / 0.4981 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.003202/0.4574, allocations: 3.569 MB / 0.6474 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.4579, allocations: 266 kB / 0.6477 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.4583, allocations: 0.6594 MB / 0.6483 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4583, allocations: 38.52 kB / 0.6483 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.4583, allocations: 3.25 kB / 0.6483 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.0009631/0.4593, allocations: 0.5463 MB / 0.6489 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.4593, allocations: 57.17 kB / 0.6489 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/0.4602, allocations: 0.9663 MB / 0.6499 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4602, allocations: 32.33 kB / 0.6499 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.4605, allocations: 0.4894 MB / 0.6504 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.4606, allocations: 115.8 kB / 0.6505 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.4606, allocations: 14.62 kB / 0.6505 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.4607, allocations: 330.1 kB / 0.6508 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.461, allocations: 173.6 kB / 0.651 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.4614, allocations: 356.8 kB / 0.6513 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.4617, allocations: 227.6 kB / 0.6515 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.4617, allocations: 3 kB / 0.6516 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008821/0.4626, allocations: 0.6335 MB / 0.6522 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4626, allocations: 6.062 kB / 0.6522 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4627, allocations: 9.516 kB / 0.6522 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4627, allocations: 8.344 kB / 0.6522 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.4631, allocations: 133.6 kB / 0.6523 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.4631, allocations: 10.44 kB / 0.6523 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.4637, allocations: 119.8 kB / 0.6524 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.4638, allocations: 26.69 kB / 0.6525 GB, free: 16.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002769/0.464, allocations: 274.4 kB / 0.6527 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4641, allocations: 104 kB / 0.6528 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008725/0.465, allocations: 497.8 kB / 0.6533 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.465, allocations: 15.77 kB / 0.6533 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4651, allocations: 64 / 0.6533 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006917/0.4658, allocations: 479.7 kB / 0.6538 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.4677, allocations: 1.397 MB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4677, allocations: 1.156 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.4681, allocations: 77.33 kB / 0.6552 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.4681, allocations: 2.969 kB / 0.6552 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.4681, allocations: 8.406 kB / 0.6552 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.4681, allocations: 11.44 kB / 0.6552 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4681, allocations: 1.25 kB / 0.6552 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.4693, allocations: 0.8553 MB / 0.6561 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.4696, allocations: 252.6 kB / 0.6563 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4698, allocations: 15.47 kB / 0.6563 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.4703, allocations: 63.73 kB / 0.6564 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.4704, allocations: 24.64 kB / 0.6564 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.4704, allocations: 20.88 kB / 0.6564 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008122/0.4712, allocations: 0.6755 MB / 0.6571 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4713, allocations: 1.25 kB / 0.6571 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001032/0.4723, allocations: 339.9 kB / 0.6574 GB, free: 13.52 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 (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.0006501/0.4729, allocations: 396.1 kB / 0.6578 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.4738, allocations: 441.2 kB / 0.6582 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4738, allocations: 0.6875 kB / 0.6582 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.4742, allocations: 197.5 kB / 0.6584 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.4768, allocations: 0.5912 MB / 0.659 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.479, allocations: 1.958 MB / 0.6609 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.4796, allocations: 1.054 MB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006816/0.4802, allocations: 200.2 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4804, allocations: 80.73 kB / 0.6622 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.4804, allocations: 0 / 0.6622 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.03216/0.5126, allocations: 20.17 MB / 0.6819 GB, free: 5.48 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: