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.001266/0.001266, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001675/0.001675, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002473/0.002473, allocations: 285.8 kB / 312.7 MB, free: 2.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.165/1.165, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002886/0.002886, allocations: 107.2 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1739, allocations: 95.38 MB / 0.8327 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08023/0.2542, allocations: 70.98 MB / 0.902 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.281, allocations: 17.56 MB / 0.9191 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003585/0.2846, allocations: 150.7 kB / 0.9193 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.2885, allocations: 1.234 MB / 0.9205 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.2989, allocations: 3.867 MB / 0.9242 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.3045, allocations: 2.141 MB / 0.9263 GB, free: 8.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009585/0.3141, allocations: 6.796 MB / 0.933 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.317, allocations: 1.587 MB / 0.9345 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.3227, allocations: 2.424 MB / 0.9369 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.3259, allocations: 1.785 MB / 0.9386 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.3263, allocations: 203.9 kB / 0.9388 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.3298, allocations: 1.337 MB / 0.9401 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.3304, allocations: 0.5718 MB / 0.9407 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3316, allocations: 0.9994 MB / 0.9417 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.3371, allocations: 3.792 MB / 0.9454 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3371, allocations: 0 / 0.9454 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3371, allocations: 0 / 0.9454 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.123e-05/0.3371, allocations: 0 / 0.9454 GB, free: 4.484 MB / 0.6856 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.004488/0.3416, allocations: 2.711 MB / 0.948 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3417, allocations: 13.34 kB / 0.948 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.3419, allocations: 202.8 kB / 0.9482 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/0.3426, allocations: 275.3 kB / 0.9485 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.346, allocations: 1.956 MB / 0.9504 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.3461, allocations: 106.7 kB / 0.9505 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.3463, allocations: 144 kB / 0.9506 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.3491, allocations: 1.818 MB / 0.9524 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.3491, allocations: 11.94 kB / 0.9524 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.3492, allocations: 63.88 kB / 0.9525 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.3493, allocations: 44 kB / 0.9525 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.3515, allocations: 1.111 MB / 0.9536 GB, free: 11.79 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.007469/0.359, allocations: 5.331 MB / 0.9588 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.3599, allocations: 449 kB / 0.9592 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.3605, allocations: 303 kB / 0.9595 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003787/0.3609, allocations: 116.4 kB / 0.9596 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.361, allocations: 47.06 kB / 0.9597 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/0.361, allocations: 0 / 0.9597 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002228/0.3632, allocations: 0.9721 MB / 0.9606 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3632, allocations: 59.91 kB / 0.9607 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.3656, allocations: 1.814 MB / 0.9625 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.3656, allocations: 41.7 kB / 0.9625 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009395/0.3666, allocations: 0.949 MB / 0.9634 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.3668, allocations: 226.1 kB / 0.9637 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.3671, allocations: 226.8 kB / 0.9639 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3673, allocations: 345.9 kB / 0.9642 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.368, allocations: 334.4 kB / 0.9645 GB, free: 364 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3692, allocations: 0.966 MB / 0.9655 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.371, allocations: 1.013 MB / 0.9664 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.371, allocations: 4 kB / 0.9665 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00232/0.3733, allocations: 1.23 MB / 0.9677 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3733, allocations: 13.88 kB / 0.9677 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3733, allocations: 8 kB / 0.9677 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.3734, allocations: 16 kB / 0.9677 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3744, allocations: 292.1 kB / 0.968 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.3744, allocations: 19.94 kB / 0.968 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3755, allocations: 170.9 kB / 0.9681 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.3756, allocations: 55.98 kB / 0.9682 GB, free: 12.21 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.0006978/0.3763, allocations: 449.9 kB / 0.9686 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.3766, allocations: 198.7 kB / 0.9688 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.3784, allocations: 0.8706 MB / 0.9697 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.3784, allocations: 12 kB / 0.9697 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3784, allocations: 0 / 0.9697 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.3798, allocations: 0.8056 MB / 0.9705 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.3838, allocations: 2.234 MB / 0.9727 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3838, allocations: 4 kB / 0.9727 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.3845, allocations: 187.7 kB / 0.9728 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3846, allocations: 4.25 kB / 0.9728 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.3846, allocations: 23.94 kB / 0.9729 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3846, allocations: 4 kB / 0.9729 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3846, allocations: 0 / 0.9729 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.3871, allocations: 1.363 MB / 0.9742 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/0.3878, allocations: 298.4 kB / 0.9745 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.388, allocations: 12 kB / 0.9745 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.389, allocations: 75.86 kB / 0.9746 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3891, allocations: 52.36 kB / 0.9746 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.3891, allocations: 31.97 kB / 0.9746 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001822/0.391, allocations: 1.255 MB / 0.9759 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 0.9759 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001757/0.3927, allocations: 0.6548 MB / 0.9765 GB, free: 3.504 MB / 0.7169 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.003756/0.3965, allocations: 2.389 MB / 0.9788 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.3982, allocations: 0.7853 MB / 0.9796 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3982, allocations: 8.062 kB / 0.9796 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.3504/0.7487, allocations: 331 kB / 0.9799 GB, free: 145.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/0.7546, allocations: 1.195 MB / 0.9811 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.7755, allocations: 12.64 MB / 0.9934 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.7771, allocations: 0.8296 MB / 0.9943 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002031/0.7791, allocations: 383.6 kB / 0.9946 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.7801, allocations: 0.7638 MB / 0.9954 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/0.7801, allocations: 6.781 kB / 0.9954 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09725/0.8774, allocations: 63.09 MB / 1.057 GB, free: 84.24 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.14, allocations: 8 kB / 1.057 GB, free: 84.23 MB / 0.7169 GB " [Timeout remaining time 646] (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: 18.244907818268985] Failed to read output from testmodel.py, exit status != 0: 14.279383374378085 14.29007071 13.950614168 Calling exit ...