Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001258/0.001258, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001325/0.001325, allocations: 212 kB / 19.43 MB, free: 3.637 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.397/1.397, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 298.2 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002762/0.002762, allocations: 112.3 kB / 0.7343 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1888, allocations: 95.35 MB / 0.8274 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08002/0.2689, allocations: 78.03 MB / 0.9036 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02769/0.2966, allocations: 18.9 MB / 0.922 GB, free: 8.586 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.3003, allocations: 150.7 kB / 0.9222 GB, free: 8.438 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003805/0.3041, allocations: 1.308 MB / 0.9234 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.3147, allocations: 3.813 MB / 0.9272 GB, free: 3.293 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.3205, allocations: 2.108 MB / 0.9292 GB, free: 1.203 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3308, allocations: 6.678 MB / 0.9358 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00337/0.3341, allocations: 1.704 MB / 0.9374 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00582/0.34, allocations: 2.41 MB / 0.9398 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.3435, allocations: 1.857 MB / 0.9416 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006903/0.3442, allocations: 200 kB / 0.9418 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.3492, allocations: 1.731 MB / 0.9435 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3503, allocations: 0.5602 MB / 0.944 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.3531, allocations: 1.252 MB / 0.9452 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.3613, allocations: 3.842 MB / 0.949 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3613, allocations: 3.938 kB / 0.949 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3613, allocations: 4 kB / 0.949 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001304/0.3615, allocations: 0 / 0.949 GB, free: 12.87 MB / 0.7012 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.00645/0.3679, allocations: 2.788 MB / 0.9517 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.368, allocations: 8.031 kB / 0.9517 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004143/0.3684, allocations: 202.8 kB / 0.9519 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/0.3693, allocations: 279.3 kB / 0.9522 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.3732, allocations: 2.032 MB / 0.9542 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.3733, allocations: 106.7 kB / 0.9543 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.3735, allocations: 148 kB / 0.9544 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.3763, allocations: 1.524 MB / 0.9559 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.3764, allocations: 11.89 kB / 0.9559 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.3765, allocations: 56 kB / 0.956 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.3765, allocations: 40 kB / 0.956 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.3789, allocations: 1.126 MB / 0.9571 GB, free: 4.355 MB / 0.7012 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.009586/0.3884, allocations: 7.613 MB / 0.9645 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3895, allocations: 457 kB / 0.965 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.3902, allocations: 312.5 kB / 0.9653 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.3912, allocations: 1.148 MB / 0.9664 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3912, allocations: 43.12 kB / 0.9664 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 1.943e-06/0.3912, allocations: 4 kB / 0.9664 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002471/0.3937, allocations: 0.9701 MB / 0.9674 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3937, allocations: 63.97 kB / 0.9674 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.3964, allocations: 1.787 MB / 0.9692 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.3964, allocations: 45.64 kB / 0.9692 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.3973, allocations: 0.9412 MB / 0.9702 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.3976, allocations: 226.1 kB / 0.9704 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.3979, allocations: 226.8 kB / 0.9706 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.398, allocations: 353.9 kB / 0.9709 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.3988, allocations: 326.4 kB / 0.9712 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3998, allocations: 0.6899 MB / 0.9719 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4016, allocations: 1.012 MB / 0.9729 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4016, allocations: 0 / 0.9729 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002596/0.4042, allocations: 1.222 MB / 0.9741 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.4042, allocations: 12.88 kB / 0.9741 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.4042, allocations: 11.98 kB / 0.9741 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.4043, allocations: 20 kB / 0.9741 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.4053, allocations: 287.6 kB / 0.9744 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.94e-05/0.4053, allocations: 27.86 kB / 0.9744 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4066, allocations: 174.9 kB / 0.9746 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/0.4067, allocations: 55.98 kB / 0.9747 GB, free: 1.145 MB / 0.7169 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.00074/0.4075, allocations: 437.3 kB / 0.9751 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.4079, allocations: 202.7 kB / 0.9753 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.4099, allocations: 0.8621 MB / 0.9761 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4099, allocations: 8 kB / 0.9761 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.4099, allocations: 0 / 0.9761 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/0.4114, allocations: 0.8073 MB / 0.9769 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.4159, allocations: 2.455 MB / 0.9793 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4159, allocations: 0 / 0.9793 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.4167, allocations: 179.7 kB / 0.9795 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.4167, allocations: 4.25 kB / 0.9795 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.4167, allocations: 20 kB / 0.9795 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4167, allocations: 4 kB / 0.9795 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4167, allocations: 3.984 kB / 0.9795 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.4194, allocations: 1.345 MB / 0.9808 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/0.4201, allocations: 371.6 kB / 0.9812 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.4205, allocations: 15.98 kB / 0.9812 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.4216, allocations: 75.88 kB / 0.9813 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.4217, allocations: 56.45 kB / 0.9813 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-05/0.4218, allocations: 35.97 kB / 0.9813 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002072/0.4238, allocations: 1.243 MB / 0.9826 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.4238, allocations: 0 / 0.9826 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001954/0.4258, allocations: 0.6587 MB / 0.9832 GB, free: 8.16 MB / 0.7325 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.004097/0.4299, allocations: 2.38 MB / 0.9855 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.4317, allocations: 0.7766 MB / 0.9863 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4317, allocations: 4 kB / 0.9863 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.4325, allocations: 328.4 kB / 0.9866 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005397/0.4379, allocations: 1.196 MB / 0.9878 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.389/0.8269, allocations: 12.61 MB / 1 GB, free: 153 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.8279, allocations: 1.409 MB / 1.001 GB, free: 152.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001394/0.8293, allocations: 380.4 kB / 1.002 GB, free: 152.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/0.8302, allocations: 0.7681 MB / 1.003 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.61e-07/0.8302, allocations: 0 / 1.003 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09274/0.923, allocations: 57.83 MB / 1.059 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.81, allocations: 4.484 kB / 1.059 GB, free: 107.4 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.954481036867946] Failed to read output from testmodel.py, exit status != 0: 12.91372590791434 12.923058383 12.559510297 Calling exit ...