Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.001023/0.001023, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001011/0.001011, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.86 kB / 0.5014 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3716, allocations: 80.2 MB / 0.5797 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07058/0.4422, allocations: 76.48 MB / 0.6544 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.4678, allocations: 18.72 MB / 0.6727 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.4718, allocations: 103.3 kB / 0.6727 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.4752, allocations: 1.08 MB / 0.6738 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009301/0.4846, allocations: 3.39 MB / 0.6771 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.4895, allocations: 1.919 MB / 0.679 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007937/0.4975, allocations: 6.712 MB / 0.6855 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.5006, allocations: 2.073 MB / 0.6876 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/0.5059, allocations: 2.345 MB / 0.6899 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.5086, allocations: 1.824 MB / 0.6916 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005581/0.5092, allocations: 200 kB / 0.6918 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.5131, allocations: 1.637 MB / 0.6934 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.5139, allocations: 0.5371 MB / 0.694 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.5165, allocations: 1.256 MB / 0.6952 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005985/0.5225, allocations: 3.731 MB / 0.6988 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5225, allocations: 0 / 0.6988 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5225, allocations: 4 kB / 0.6988 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001052/0.5226, allocations: 4 kB / 0.6988 GB, free: 7.336 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005066/0.5277, allocations: 2.719 MB / 0.7015 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5278, allocations: 8.031 kB / 0.7015 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002664/0.528, allocations: 198.8 kB / 0.7017 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.5288, allocations: 269.4 kB / 0.7019 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.5317, allocations: 1.98 MB / 0.7039 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.5318, allocations: 106.7 kB / 0.704 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.532, allocations: 144 kB / 0.7041 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.5344, allocations: 1.512 MB / 0.7056 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.5344, allocations: 8 kB / 0.7056 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.5346, allocations: 56 kB / 0.7056 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.5346, allocations: 43.88 kB / 0.7057 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.5366, allocations: 1.13 MB / 0.7068 GB, free: 14.96 MB / 0.545 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.007233/0.5439, allocations: 7.571 MB / 0.7142 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.5448, allocations: 480.6 kB / 0.7146 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.5454, allocations: 326.9 kB / 0.715 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000774/0.5462, allocations: 1.156 MB / 0.7161 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5462, allocations: 39.12 kB / 0.7161 GB, free: 4.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.504e-06/0.5463, allocations: 0 / 0.7161 GB, free: 4.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002077/0.5483, allocations: 0.9612 MB / 0.7171 GB, free: 3.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.5484, allocations: 63.97 kB / 0.7171 GB, free: 3.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.5503, allocations: 1.748 MB / 0.7188 GB, free: 1.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.5504, allocations: 49.7 kB / 0.7189 GB, free: 1.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/0.551, allocations: 0.9355 MB / 0.7198 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5512, allocations: 212.9 kB / 0.72 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.5515, allocations: 230.6 kB / 0.7202 GB, free: 292 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.5516, allocations: 353.9 kB / 0.7206 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.5523, allocations: 330.4 kB / 0.7209 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.5532, allocations: 0.686 MB / 0.7215 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.5547, allocations: 1.02 MB / 0.7225 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5547, allocations: 4 kB / 0.7225 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002022/0.5567, allocations: 1.213 MB / 0.7237 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5567, allocations: 8 kB / 0.7237 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5568, allocations: 12 kB / 0.7237 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.5568, allocations: 16.75 kB / 0.7238 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/0.5578, allocations: 287.6 kB / 0.724 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.5578, allocations: 23.92 kB / 0.7241 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5591, allocations: 238.4 kB / 0.7243 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.5592, allocations: 55.94 kB / 0.7243 GB, free: 11.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0005761/0.5598, allocations: 434.2 kB / 0.7248 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.5601, allocations: 193.7 kB / 0.7249 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.5617, allocations: 0.8673 MB / 0.7258 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5617, allocations: 8 kB / 0.7258 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5617, allocations: 4 kB / 0.7258 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/0.563, allocations: 0.7994 MB / 0.7266 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.5665, allocations: 2.431 MB / 0.7289 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5665, allocations: 0 / 0.7289 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.5673, allocations: 184 kB / 0.7291 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5673, allocations: 4 kB / 0.7291 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.5674, allocations: 16 kB / 0.7291 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.5674, allocations: 11.92 kB / 0.7292 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5674, allocations: 4 kB / 0.7292 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.5696, allocations: 1.331 MB / 0.7305 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/0.5702, allocations: 366.5 kB / 0.7308 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.5704, allocations: 16 kB / 0.7308 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.5714, allocations: 115.7 kB / 0.7309 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5716, allocations: 48.44 kB / 0.731 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.5716, allocations: 39.97 kB / 0.731 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001494/0.5731, allocations: 1.216 MB / 0.7322 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5731, allocations: 0 / 0.7322 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001651/0.5748, allocations: 0.6395 MB / 0.7328 GB, free: 2.832 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003405/0.5782, allocations: 2.367 MB / 0.7351 GB, free: 440 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.5801, allocations: 0.8976 MB / 0.736 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5801, allocations: 0 / 0.736 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.5808, allocations: 360.4 kB / 0.7364 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/0.5854, allocations: 1.202 MB / 0.7375 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/0.6112, allocations: 14.72 MB / 0.7519 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.6121, allocations: 1.409 MB / 0.7533 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001482/0.6136, allocations: 384.5 kB / 0.7537 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008669/0.6145, allocations: 0.7609 MB / 0.7544 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.6145, allocations: 3.938 kB / 0.7544 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08422/0.6987, allocations: 56.16 MB / 0.8092 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.6989, allocations: 253.9 kB / 0.8095 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/3.834, allocations: 3.938 kB / 0.8095 GB, free: 3.898 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)