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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.0008471/0.0008472, allocations: 84.38 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.001042/0.001042, 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.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 12 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1782, allocations: 82.3 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3569/0.5351, allocations: 38.3 MB / 0.6249 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.5461, allocations: 9.727 MB / 0.6344 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.5478, allocations: 51.44 kB / 0.6344 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.5491, allocations: 467.9 kB / 0.6349 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.5526, allocations: 1.469 MB / 0.6363 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.5549, allocations: 0.8672 MB / 0.6371 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.5588, allocations: 3.84 MB / 0.6409 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.5601, allocations: 0.7391 MB / 0.6416 GB, free: 22.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.5622, allocations: 0.9946 MB / 0.6426 GB, free: 22.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5633, allocations: 0.8036 MB / 0.6434 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.5634, allocations: 35.69 kB / 0.6434 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.5651, allocations: 0.4916 MB / 0.6439 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.5654, allocations: 194.3 kB / 0.6441 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.5659, allocations: 261.8 kB / 0.6443 GB, free: 21.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.5676, allocations: 1.364 MB / 0.6456 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5676, allocations: 0 / 0.6456 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.477e-06/0.5676, allocations: 2.594 kB / 0.6457 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.5676, allocations: 0 / 0.6457 GB, free: 21.2 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.002113/0.5698, allocations: 1.32 MB / 0.6469 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5698, allocations: 7.531 kB / 0.6469 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.5699, allocations: 123.6 kB / 0.6471 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.5702, allocations: 128.1 kB / 0.6472 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5716, allocations: 1.04 MB / 0.6482 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.5716, allocations: 53.69 kB / 0.6483 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.5717, allocations: 76.59 kB / 0.6483 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5729, allocations: 0.7961 MB / 0.6491 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.5729, allocations: 0 / 0.6491 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.573, allocations: 36.94 kB / 0.6491 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.573, allocations: 29.92 kB / 0.6492 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009608/0.574, allocations: 0.5807 MB / 0.6497 GB, free: 18.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.003189/0.5772, allocations: 3.542 MB / 0.6532 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.5777, allocations: 274.7 kB / 0.6535 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.578, allocations: 182 kB / 0.6536 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.5784, allocations: 0.664 MB / 0.6543 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.5784, allocations: 37.34 kB / 0.6543 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.5785, allocations: 0 / 0.6543 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001053/0.5795, allocations: 0.5418 MB / 0.6548 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5796, allocations: 58.59 kB / 0.6549 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.5808, allocations: 0.9237 MB / 0.6558 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.5808, allocations: 34.02 kB / 0.6558 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.5812, allocations: 0.491 MB / 0.6563 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.5813, allocations: 115.7 kB / 0.6564 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.5813, allocations: 14 kB / 0.6564 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.5814, allocations: 329.9 kB / 0.6568 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.5818, allocations: 173.4 kB / 0.6569 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.5822, allocations: 359.5 kB / 0.6573 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.5827, allocations: 235.7 kB / 0.6575 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5827, allocations: 1.844 kB / 0.6575 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001106/0.5838, allocations: 0.6338 MB / 0.6581 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5839, allocations: 6.875 kB / 0.6581 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5839, allocations: 5.531 kB / 0.6581 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5839, allocations: 8.562 kB / 0.6581 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.5844, allocations: 128.7 kB / 0.6582 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.5844, allocations: 13.81 kB / 0.6583 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.5851, allocations: 114 kB / 0.6584 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.5852, allocations: 25.83 kB / 0.6584 GB, free: 13.06 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.000374/0.5856, allocations: 284.2 kB / 0.6587 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5857, allocations: 99.59 kB / 0.6588 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5868, allocations: 0.4933 MB / 0.6592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5868, allocations: 3.578 kB / 0.6592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5868, allocations: 1.391 kB / 0.6592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007299/0.5875, allocations: 474.9 kB / 0.6597 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5897, allocations: 1.376 MB / 0.661 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5897, allocations: 2.031 kB / 0.661 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.5901, allocations: 86.55 kB / 0.6611 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.5901, allocations: 3.719 kB / 0.6611 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.5901, allocations: 8.641 kB / 0.6611 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/0.5902, allocations: 4.047 kB / 0.6611 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.5902, allocations: 9.625 kB / 0.6612 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5915, allocations: 0.7966 MB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.5919, allocations: 242.1 kB / 0.6622 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.592, allocations: 8.234 kB / 0.6622 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.5925, allocations: 56.44 kB / 0.6622 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.5926, allocations: 32.72 kB / 0.6623 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.5927, allocations: 20.58 kB / 0.6623 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009223/0.5936, allocations: 0.639 MB / 0.6629 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5936, allocations: 0 / 0.6629 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001061/0.5947, allocations: 329.3 kB / 0.6632 GB, free: 10.61 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.002041/0.5967, allocations: 1.593 MB / 0.6648 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009755/0.5977, allocations: 447.5 kB / 0.6652 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5977, allocations: 1.438 kB / 0.6652 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.5981, allocations: 202.2 kB / 0.6654 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.6008, allocations: 0.6033 MB / 0.666 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009971/0.6108, allocations: 5.462 MB / 0.6713 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.6115, allocations: 1.037 MB / 0.6723 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001042/0.6126, allocations: 200.8 kB / 0.6725 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.613, allocations: 381.3 kB / 0.6729 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.6131, allocations: 0 / 0.6729 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06195/0.675, allocations: 28.92 MB / 0.7011 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.6752, allocations: 232.2 kB / 0.7013 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.23, allocations: 0 / 0.7013 GB, free: 7.504 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: