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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8878/0.8878, allocations: 133.9 MB / 436.6 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 0.6051 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4061, allocations: 84.68 MB / 0.6878 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0829/0.489, allocations: 77.7 MB / 0.7637 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.5173, allocations: 18.87 MB / 0.7821 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.5211, allocations: 111.4 kB / 0.7822 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.5252, allocations: 1.304 MB / 0.7835 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.5363, allocations: 3.794 MB / 0.7872 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005827/0.5421, allocations: 2.099 MB / 0.7893 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.5543, allocations: 6.677 MB / 0.7958 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.5578, allocations: 1.712 MB / 0.7975 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/0.5643, allocations: 2.38 MB / 0.7998 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.5681, allocations: 1.861 MB / 0.8016 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006641/0.5687, allocations: 200 kB / 0.8018 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.5736, allocations: 1.665 MB / 0.8034 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000973/0.5746, allocations: 0.5679 MB / 0.804 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.577, allocations: 1.252 MB / 0.8052 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00748/0.5844, allocations: 3.767 MB / 0.8089 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5845, allocations: 0 / 0.8089 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5845, allocations: 0 / 0.8089 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.173e-05/0.5845, allocations: 11.92 kB / 0.8089 GB, free: 10.27 MB / 0.6231 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.005798/0.5903, allocations: 2.786 MB / 0.8116 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5904, allocations: 8.031 kB / 0.8116 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/0.5907, allocations: 206.8 kB / 0.8118 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.5915, allocations: 282.5 kB / 0.8121 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.5957, allocations: 2.032 MB / 0.8141 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5958, allocations: 110.7 kB / 0.8142 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.596, allocations: 148 kB / 0.8143 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.5989, allocations: 1.52 MB / 0.8158 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.5989, allocations: 3.938 kB / 0.8158 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.599, allocations: 60 kB / 0.8158 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.5991, allocations: 39.94 kB / 0.8159 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.6014, allocations: 1.122 MB / 0.817 GB, free: 1.758 MB / 0.6231 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.009696/0.6111, allocations: 7.616 MB / 0.8244 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6121, allocations: 458.8 kB / 0.8249 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.6127, allocations: 312.2 kB / 0.8252 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/0.6137, allocations: 1.152 MB / 0.8263 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.6137, allocations: 47.11 kB / 0.8263 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=59): time 2.375e-06/0.6137, allocations: 0 / 0.8263 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59): time 0.002495/0.6162, allocations: 0.9702 MB / 0.8273 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.6163, allocations: 55.97 kB / 0.8273 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.6189, allocations: 1.791 MB / 0.8291 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.6191, allocations: 45.7 kB / 0.8291 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/0.6199, allocations: 0.9451 MB / 0.83 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.6202, allocations: 230 kB / 0.8303 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.6205, allocations: 226.8 kB / 0.8305 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6207, allocations: 341.9 kB / 0.8308 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.6214, allocations: 334.4 kB / 0.8311 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.6224, allocations: 0.6898 MB / 0.8318 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.6241, allocations: 1.012 MB / 0.8328 GB, free: 360 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.6241, allocations: 4 kB / 0.8328 GB, free: 356 kB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002599/0.6267, allocations: 1.222 MB / 0.834 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.6267, allocations: 8 kB / 0.834 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6268, allocations: 12.84 kB / 0.834 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.6268, allocations: 12 kB / 0.834 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6278, allocations: 299.5 kB / 0.8343 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/0.6278, allocations: 23.92 kB / 0.8343 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.6292, allocations: 166.8 kB / 0.8345 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.6293, allocations: 56 kB / 0.8345 GB, free: 14.55 MB / 0.6544 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.0008414/0.6301, allocations: 433.5 kB / 0.8349 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/0.6306, allocations: 198.7 kB / 0.8351 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.6325, allocations: 0.8674 MB / 0.836 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.6325, allocations: 11.98 kB / 0.836 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6325, allocations: 3.984 kB / 0.836 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.6338, allocations: 0.7995 MB / 0.8368 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/0.6385, allocations: 2.451 MB / 0.8392 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6385, allocations: 4 kB / 0.8392 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.6393, allocations: 179.7 kB / 0.8393 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.6393, allocations: 4 kB / 0.8394 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.6393, allocations: 19.98 kB / 0.8394 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.6393, allocations: 8.062 kB / 0.8394 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6393, allocations: 7.938 kB / 0.8394 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.642, allocations: 1.345 MB / 0.8407 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.6429, allocations: 375.5 kB / 0.8411 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.6431, allocations: 19.94 kB / 0.8411 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/0.6441, allocations: 67.91 kB / 0.8411 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6442, allocations: 56.42 kB / 0.8412 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.6443, allocations: 27.98 kB / 0.8412 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001841/0.6461, allocations: 1.243 MB / 0.8424 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6461, allocations: 0 / 0.8424 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001723/0.6478, allocations: 0.6548 MB / 0.8431 GB, free: 5.562 MB / 0.6544 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.003804/0.6516, allocations: 2.403 MB / 0.8454 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.6534, allocations: 0.7843 MB / 0.8462 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6534, allocations: 0 / 0.8462 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.6541, allocations: 332.4 kB / 0.8465 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/0.659, allocations: 1.2 MB / 0.8477 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.6801, allocations: 12.64 MB / 0.86 GB, free: 3.734 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.6814, allocations: 1.405 MB / 0.8614 GB, free: 2.293 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001573/0.683, allocations: 378.2 kB / 0.8618 GB, free: 1.934 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.6841, allocations: 0.7687 MB / 0.8625 GB, free: 1.164 MB / 0.67 GB Notification: Performance of SimCode: time 1.302e-06/0.6841, allocations: 0 / 0.8625 GB, free: 1.164 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/1.089, allocations: 57.81 MB / 0.919 GB, free: 124.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.13, allocations: 2.469 kB / 0.919 GB, free: 124.6 MB / 0.67 GB " [Timeout remaining time 647] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.65614715917036] Failed to read output from testmodel.py, exit status != 0: 13.232448844704777 13.240826072 12.654060815 Calling exit ...