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.001348/0.001348, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001385/0.001385, allocations: 213.2 kB / 23.78 MB, free: 4.555 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.5/1.5, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9512/0.9512, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",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.001934/0.001934, allocations: 75.83 kB / 0.642 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1834, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4538/0.6372, allocations: 71.03 MB / 0.7984 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.6648, allocations: 17.55 MB / 0.8156 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/0.6694, allocations: 154.1 kB / 0.8157 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.6739, allocations: 1.236 MB / 0.8169 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.6862, allocations: 3.892 MB / 0.8207 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006846/0.693, allocations: 2.169 MB / 0.8228 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01454/0.7076, allocations: 6.855 MB / 0.8295 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.7107, allocations: 1.591 MB / 0.8311 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.718, allocations: 2.759 MB / 0.8338 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004523/0.7225, allocations: 1.839 MB / 0.8356 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000823/0.7233, allocations: 201.1 kB / 0.8358 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.7281, allocations: 1.337 MB / 0.8371 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000972/0.7291, allocations: 0.5654 MB / 0.8376 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.7315, allocations: 1.014 MB / 0.8386 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007783/0.7393, allocations: 3.806 MB / 0.8423 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7393, allocations: 0 / 0.8423 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7393, allocations: 0 / 0.8423 GB, free: 448 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.425e-05/0.7394, allocations: 7.938 kB / 0.8423 GB, free: 440 kB / 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.006008/0.7454, allocations: 2.711 MB / 0.845 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7455, allocations: 12.69 kB / 0.845 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.647e-05/0.7455, allocations: 41 kB / 0.845 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.7458, allocations: 203.6 kB / 0.8452 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.7467, allocations: 277.9 kB / 0.8455 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.7505, allocations: 1.971 MB / 0.8474 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.7506, allocations: 107.8 kB / 0.8475 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.7509, allocations: 151.9 kB / 0.8477 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.754, allocations: 1.821 MB / 0.8494 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.754, allocations: 4 kB / 0.8494 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.7542, allocations: 55.94 kB / 0.8495 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/0.7542, allocations: 43.94 kB / 0.8495 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.7566, allocations: 1.126 MB / 0.8506 GB, free: 9.273 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.009378/0.766, allocations: 5.333 MB / 0.8558 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.7671, allocations: 445 kB / 0.8563 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.7677, allocations: 312.3 kB / 0.8566 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004033/0.7681, allocations: 104.4 kB / 0.8567 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.7682, allocations: 51.06 kB / 0.8567 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.525e-06/0.7682, allocations: 0 / 0.8567 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002493/0.7707, allocations: 0.9759 MB / 0.8577 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.7707, allocations: 55.91 kB / 0.8577 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.7734, allocations: 1.807 MB / 0.8595 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.7736, allocations: 37.7 kB / 0.8595 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/0.7744, allocations: 0.949 MB / 0.8604 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.7747, allocations: 234 kB / 0.8607 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.7751, allocations: 226.8 kB / 0.8609 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7752, allocations: 353.9 kB / 0.8612 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.7759, allocations: 334.4 kB / 0.8615 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7771, allocations: 0.9621 MB / 0.8625 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.7789, allocations: 1.013 MB / 0.8635 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.7789, allocations: 4 kB / 0.8635 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002616/0.7815, allocations: 1.226 MB / 0.8647 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.7815, allocations: 8 kB / 0.8647 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7815, allocations: 8 kB / 0.8647 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.7816, allocations: 16 kB / 0.8647 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.7826, allocations: 300.1 kB / 0.865 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.7826, allocations: 15.94 kB / 0.865 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.784, allocations: 171.5 kB / 0.8652 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.7841, allocations: 59.97 kB / 0.8652 GB, free: 9.703 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.0007933/0.7849, allocations: 441.3 kB / 0.8656 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000473/0.7854, allocations: 206.7 kB / 0.8658 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.7873, allocations: 0.8696 MB / 0.8667 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.7873, allocations: 8 kB / 0.8667 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7873, allocations: 0 / 0.8667 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001997/0.7893, allocations: 0.806 MB / 0.8675 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.7959, allocations: 2.246 MB / 0.8697 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7959, allocations: 4 kB / 0.8697 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7972, allocations: 183.7 kB / 0.8699 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.7972, allocations: 4.25 kB / 0.8699 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.7972, allocations: 20 kB / 0.8699 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.7972, allocations: 7.984 kB / 0.8699 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7973, allocations: 0 / 0.8699 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/0.8013, allocations: 1.359 MB / 0.8712 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.8026, allocations: 298.4 kB / 0.8715 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.803, allocations: 16 kB / 0.8715 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.8049, allocations: 67.88 kB / 0.8716 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.8051, allocations: 60.28 kB / 0.8716 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.8052, allocations: 35.97 kB / 0.8717 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00306/0.8083, allocations: 1.251 MB / 0.8729 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8083, allocations: 0 / 0.8729 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003184/0.8114, allocations: 0.6626 MB / 0.8735 GB, free: 0.9844 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.006079/0.8175, allocations: 2.389 MB / 0.8759 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.8201, allocations: 0.7922 MB / 0.8767 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.8201, allocations: 0 / 0.8767 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.821, allocations: 336 kB / 0.877 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/0.8271, allocations: 1.193 MB / 0.8781 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.8493, allocations: 12.7 MB / 0.8905 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/0.8502, allocations: 0.832 MB / 0.8913 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001589/0.8518, allocations: 387.1 kB / 0.8917 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.853, allocations: 0.7687 MB / 0.8925 GB, free: 13.05 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/0.853, allocations: 0 / 0.8925 GB, free: 13.05 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.9635, allocations: 62.6 MB / 0.9536 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.22, allocations: 10.41 kB / 0.9536 GB, free: 15.34 MB / 0.7325 GB " [Timeout remaining time 644] (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: 20.204569724039175] Failed to read output from testmodel.py, exit status != 0: 16.414060713956133 16.431354501 15.688348748 Calling exit ...