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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001403/0.001403, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.374/1.374, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.8142/0.8142, allocations: 134 MB / 436.6 MB, free: 1.254 MB / 334.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.3 kB / 0.6051 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1605, allocations: 84.67 MB / 0.6878 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05358/0.214, allocations: 41.88 MB / 0.7287 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.2324, allocations: 10.4 MB / 0.7389 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2345, allocations: 55.69 kB / 0.7389 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2368, allocations: 0.6676 MB / 0.7396 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006207/0.243, allocations: 1.977 MB / 0.7415 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.2469, allocations: 1.181 MB / 0.7427 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006196/0.2531, allocations: 3.39 MB / 0.746 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.2552, allocations: 0.8686 MB / 0.7468 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.2593, allocations: 1.278 MB / 0.7481 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.2612, allocations: 0.9334 MB / 0.749 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.2616, allocations: 100 kB / 0.7491 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.2642, allocations: 0.8888 MB / 0.7499 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.2646, allocations: 302.8 kB / 0.7502 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.2657, allocations: 0.6298 MB / 0.7508 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.2697, allocations: 1.942 MB / 0.7527 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2697, allocations: 0 / 0.7527 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.123e-06/0.2697, allocations: 4 kB / 0.7527 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.84e-05/0.2698, allocations: 4 kB / 0.7527 GB, free: 8.371 MB / 0.5762 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.002963/0.2727, allocations: 1.548 MB / 0.7543 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2728, allocations: 12.03 kB / 0.7543 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.2729, allocations: 114.7 kB / 0.7544 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.2734, allocations: 140.1 kB / 0.7545 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.2756, allocations: 1.107 MB / 0.7556 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.2756, allocations: 54 kB / 0.7556 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.2758, allocations: 76 kB / 0.7557 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2773, allocations: 0.7943 MB / 0.7565 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.2773, allocations: 8 kB / 0.7565 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.2774, allocations: 28 kB / 0.7565 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.2774, allocations: 20 kB / 0.7565 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2786, allocations: 0.5633 MB / 0.7571 GB, free: 3.773 MB / 0.5762 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.3115/0.5901, allocations: 3.551 MB / 0.7606 GB, free: 71.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.5909, allocations: 238.1 kB / 0.7608 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.5913, allocations: 168.2 kB / 0.7609 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.5917, allocations: 0.6597 MB / 0.7616 GB, free: 70.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5917, allocations: 37.03 kB / 0.7616 GB, free: 70.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.5917, allocations: 3.375 kB / 0.7616 GB, free: 70.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001459/0.5932, allocations: 0.5168 MB / 0.7621 GB, free: 70.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.5932, allocations: 58.22 kB / 0.7622 GB, free: 70.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5947, allocations: 0.9445 MB / 0.7631 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.5948, allocations: 34.27 kB / 0.7631 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.5951, allocations: 0.5046 MB / 0.7636 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5952, allocations: 118.1 kB / 0.7638 GB, free: 70.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.5954, allocations: 117 kB / 0.7639 GB, free: 70.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.5955, allocations: 326.5 kB / 0.7642 GB, free: 70.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.5958, allocations: 162.3 kB / 0.7643 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.5963, allocations: 355.4 kB / 0.7647 GB, free: 69.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.597, allocations: 0.506 MB / 0.7652 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.597, allocations: 2.219 kB / 0.7652 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001115/0.5982, allocations: 0.6327 MB / 0.7658 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5982, allocations: 8.219 kB / 0.7658 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5982, allocations: 6.812 kB / 0.7658 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.5982, allocations: 8.688 kB / 0.7658 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.5987, allocations: 123 kB / 0.7659 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.5987, allocations: 8.906 kB / 0.7659 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.5992, allocations: 95.73 kB / 0.766 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5993, allocations: 26.3 kB / 0.766 GB, free: 69.38 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003602/0.5997, allocations: 269.6 kB / 0.7663 GB, free: 69.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.5998, allocations: 111.5 kB / 0.7664 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009826/0.6008, allocations: 486.1 kB / 0.7669 GB, free: 68.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.6008, allocations: 4.672 kB / 0.7669 GB, free: 68.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6008, allocations: 1.328 kB / 0.7669 GB, free: 68.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006769/0.6015, allocations: 458.2 kB / 0.7673 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6038, allocations: 1.362 MB / 0.7686 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.6038, allocations: 7.484 kB / 0.7687 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.6042, allocations: 73.59 kB / 0.7687 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.6042, allocations: 3.875 kB / 0.7687 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6042, allocations: 9.719 kB / 0.7687 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6042, allocations: 3.984 kB / 0.7687 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6042, allocations: 5.891 kB / 0.7687 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.6055, allocations: 0.7779 MB / 0.7695 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.6059, allocations: 228.2 kB / 0.7697 GB, free: 67.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.606, allocations: 8.109 kB / 0.7697 GB, free: 67.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.6065, allocations: 32.14 kB / 0.7698 GB, free: 67.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.6066, allocations: 32.14 kB / 0.7698 GB, free: 67.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.6066, allocations: 22 kB / 0.7698 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009566/0.6076, allocations: 0.6607 MB / 0.7705 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6076, allocations: 2.812 kB / 0.7705 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00116/0.6087, allocations: 340.3 kB / 0.7708 GB, free: 67 MB / 0.5762 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 (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.002331/0.6111, allocations: 1.596 MB / 0.7723 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008961/0.612, allocations: 411.4 kB / 0.7727 GB, free: 65.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.612, allocations: 0 / 0.7727 GB, free: 65.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.6123, allocations: 179.6 kB / 0.7729 GB, free: 65.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.6148, allocations: 0.6084 MB / 0.7735 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009322/0.6241, allocations: 6.842 MB / 0.7802 GB, free: 62.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.6247, allocations: 1.041 MB / 0.7812 GB, free: 61.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009851/0.6257, allocations: 202 kB / 0.7814 GB, free: 61.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.6261, allocations: 373.2 kB / 0.7817 GB, free: 61.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6261, allocations: 0 / 0.7817 GB, free: 61.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/0.6863, allocations: 29.84 MB / 0.8109 GB, free: 40 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.83, allocations: 5.719 kB / 0.8109 GB, free: 40 MB / 0.5762 GB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.319920135196298] Failed to read output from testmodel.py, exit status != 0: 10.919800822157413 10.935477077 10.662415155 Calling exit ...