Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 218 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9746/0.9746, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 64.92 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2086, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5944/0.803, allocations: 71.1 MB / 0.7976 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03543/0.8384, allocations: 17.59 MB / 0.8148 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005807/0.8442, allocations: 158.1 kB / 0.8149 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.8486, allocations: 1.239 MB / 0.8161 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.8622, allocations: 3.883 MB / 0.8199 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00674/0.869, allocations: 2.136 MB / 0.822 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.8824, allocations: 6.81 MB / 0.8286 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/0.8863, allocations: 1.574 MB / 0.8302 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009285/0.8956, allocations: 2.749 MB / 0.8329 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00559/0.9012, allocations: 1.756 MB / 0.8346 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000826/0.902, allocations: 197.8 kB / 0.8348 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/0.9083, allocations: 1.338 MB / 0.8361 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.9093, allocations: 0.5706 MB / 0.8366 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002935/0.9122, allocations: 1.006 MB / 0.8376 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008803/0.921, allocations: 3.805 MB / 0.8413 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.9211, allocations: 0 / 0.8413 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9211, allocations: 0 / 0.8413 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.804e-05/0.9212, allocations: 0 / 0.8413 GB, free: 0.6953 MB / 0.6075 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.006314/0.9275, allocations: 2.727 MB / 0.844 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.9275, allocations: 8.656 kB / 0.844 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002881/0.9278, allocations: 199.1 kB / 0.8442 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.9287, allocations: 280.7 kB / 0.8445 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.9329, allocations: 1.975 MB / 0.8464 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.933, allocations: 107 kB / 0.8465 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.9332, allocations: 148.6 kB / 0.8466 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.9364, allocations: 1.825 MB / 0.8484 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.9364, allocations: 0 / 0.8484 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.9365, allocations: 63.94 kB / 0.8485 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.9366, allocations: 43.98 kB / 0.8485 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.939, allocations: 1.111 MB / 0.8496 GB, free: 9.609 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.009448/0.9484, allocations: 5.332 MB / 0.8548 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.9496, allocations: 449 kB / 0.8552 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.9502, allocations: 302.2 kB / 0.8555 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.9507, allocations: 116.4 kB / 0.8556 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.9507, allocations: 48.11 kB / 0.8557 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.345e-06/0.9507, allocations: 3.938 kB / 0.8557 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002575/0.9533, allocations: 0.972 MB / 0.8566 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.9534, allocations: 59.89 kB / 0.8567 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.9562, allocations: 1.826 MB / 0.8585 GB, free: 300 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.9563, allocations: 41.7 kB / 0.8585 GB, free: 252 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.9573, allocations: 0.9452 MB / 0.8594 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.9576, allocations: 230.1 kB / 0.8597 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.9579, allocations: 234.8 kB / 0.8599 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.9581, allocations: 345.9 kB / 0.8602 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.9589, allocations: 330.4 kB / 0.8605 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.9602, allocations: 0.9699 MB / 0.8615 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.962, allocations: 1.009 MB / 0.8625 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.9621, allocations: 4 kB / 0.8625 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002814/0.9649, allocations: 1.226 MB / 0.8637 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.9649, allocations: 8.875 kB / 0.8637 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.9649, allocations: 12 kB / 0.8637 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.965, allocations: 19.94 kB / 0.8637 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.966, allocations: 288.4 kB / 0.864 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/0.9661, allocations: 23.92 kB / 0.864 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.9676, allocations: 170.9 kB / 0.8642 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.9677, allocations: 48 kB / 0.8642 GB, free: 10.02 MB / 0.6387 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.0009643/0.9686, allocations: 445.3 kB / 0.8646 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.969, allocations: 202.7 kB / 0.8648 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.971, allocations: 0.8718 MB / 0.8657 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.971, allocations: 11.92 kB / 0.8657 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.971, allocations: 4 kB / 0.8657 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.9725, allocations: 0.8056 MB / 0.8665 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.9771, allocations: 2.235 MB / 0.8687 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9771, allocations: 7.984 kB / 0.8687 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.978, allocations: 180 kB / 0.8688 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.978, allocations: 7.984 kB / 0.8689 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.978, allocations: 16 kB / 0.8689 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.978, allocations: 7.938 kB / 0.8689 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.978, allocations: 0 / 0.8689 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.9808, allocations: 1.371 MB / 0.8702 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/0.9817, allocations: 290.4 kB / 0.8705 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.982, allocations: 20 kB / 0.8705 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009786/0.9829, allocations: 72.97 kB / 0.8706 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.9831, allocations: 56.3 kB / 0.8706 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.9832, allocations: 31.97 kB / 0.8707 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00218/0.9853, allocations: 1.259 MB / 0.8719 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9853, allocations: 0 / 0.8719 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002316/0.9876, allocations: 0.6587 MB / 0.8725 GB, free: 1.301 MB / 0.6387 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.00426/0.9919, allocations: 2.388 MB / 0.8749 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.9939, allocations: 0.7853 MB / 0.8756 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9939, allocations: 0 / 0.8756 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.9947, allocations: 343.2 kB / 0.876 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/1, allocations: 1.197 MB / 0.8771 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.023, allocations: 12.69 MB / 0.8895 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.024, allocations: 0.8359 MB / 0.8903 GB, free: 14.51 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001691/1.025, allocations: 386.9 kB / 0.8907 GB, free: 14.13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.027, allocations: 0.7687 MB / 0.8915 GB, free: 13.36 MB / 0.67 GB Notification: Performance of SimCode: time 1.724e-06/1.027, allocations: 4 kB / 0.8915 GB, free: 13.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.163, allocations: 63.1 MB / 0.9531 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.26, allocations: 21.06 kB / 0.9531 GB, free: 15.07 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.39779405714944] Failed to read output from testmodel.py, exit status != 0: 15.410202594008297 15.432759995 14.507201372 Calling exit ...