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.001325/0.001325, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001527/0.001527, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.378/1.378, 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/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.0025/0.0025, allocations: 292.4 kB / 313.5 MB, free: 2.617 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",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.002736/0.002736, allocations: 96.64 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.185, allocations: 95.39 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07633/0.2613, allocations: 70.92 MB / 0.9027 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02749/0.2888, allocations: 17.52 MB / 0.9198 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.2932, allocations: 150.7 kB / 0.9199 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.2971, allocations: 1.238 MB / 0.9211 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.3087, allocations: 3.885 MB / 0.9249 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.3147, allocations: 2.168 MB / 0.927 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.3248, allocations: 6.842 MB / 0.9337 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.3281, allocations: 1.595 MB / 0.9353 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.3342, allocations: 2.451 MB / 0.9377 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/0.3383, allocations: 1.859 MB / 0.9395 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.3389, allocations: 200 kB / 0.9397 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.3434, allocations: 1.349 MB / 0.941 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.3442, allocations: 0.5718 MB / 0.9416 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.3461, allocations: 1.007 MB / 0.9425 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.3527, allocations: 3.78 MB / 0.9462 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3527, allocations: 0 / 0.9462 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3527, allocations: 0 / 0.9462 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.147e-05/0.3528, allocations: 0 / 0.9462 GB, free: 4.379 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.005017/0.3578, allocations: 2.711 MB / 0.9489 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.3578, allocations: 13.94 kB / 0.9489 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.462e-05/0.3579, allocations: 34.89 kB / 0.9489 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002682/0.3582, allocations: 206.8 kB / 0.9491 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.3589, allocations: 279.1 kB / 0.9494 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.3625, allocations: 1.953 MB / 0.9513 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.3626, allocations: 106.7 kB / 0.9514 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3628, allocations: 144 kB / 0.9515 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.3657, allocations: 1.825 MB / 0.9533 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.3658, allocations: 7.891 kB / 0.9533 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.3659, allocations: 64 kB / 0.9534 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.3659, allocations: 36 kB / 0.9534 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.3682, allocations: 1.126 MB / 0.9545 GB, free: 11.63 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.008027/0.3762, allocations: 5.324 MB / 0.9597 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.3772, allocations: 448.9 kB / 0.9601 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.3778, allocations: 311.2 kB / 0.9604 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/0.3782, allocations: 116.4 kB / 0.9606 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3782, allocations: 39.06 kB / 0.9606 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.765e-06/0.3782, allocations: 0 / 0.9606 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002247/0.3805, allocations: 0.976 MB / 0.9615 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3805, allocations: 63.91 kB / 0.9616 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.3829, allocations: 1.795 MB / 0.9634 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.383, allocations: 37.7 kB / 0.9634 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008954/0.3839, allocations: 0.9451 MB / 0.9643 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.3841, allocations: 230.1 kB / 0.9645 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.3845, allocations: 222.8 kB / 0.9647 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3846, allocations: 357.9 kB / 0.9651 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.3853, allocations: 330.4 kB / 0.9654 GB, free: 224 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3865, allocations: 0.966 MB / 0.9663 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3881, allocations: 1.013 MB / 0.9673 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.3881, allocations: 4 kB / 0.9673 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00253/0.3907, allocations: 1.23 MB / 0.9685 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.3907, allocations: 8.875 kB / 0.9686 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3907, allocations: 12 kB / 0.9686 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.3907, allocations: 20 kB / 0.9686 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.3918, allocations: 287.6 kB / 0.9689 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.3918, allocations: 23.88 kB / 0.9689 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.3931, allocations: 162.9 kB / 0.969 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/0.3932, allocations: 51.98 kB / 0.9691 GB, free: 12.09 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.0007836/0.3939, allocations: 450 kB / 0.9695 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.3943, allocations: 206.7 kB / 0.9697 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.396, allocations: 0.871 MB / 0.9706 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.396, allocations: 4 kB / 0.9706 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.396, allocations: 0 / 0.9706 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.3974, allocations: 0.8134 MB / 0.9714 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/0.4014, allocations: 2.231 MB / 0.9735 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4014, allocations: 7.938 kB / 0.9735 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.4022, allocations: 180 kB / 0.9737 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4022, allocations: 4 kB / 0.9737 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.4022, allocations: 20 kB / 0.9737 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.4022, allocations: 7.984 kB / 0.9737 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4022, allocations: 4 kB / 0.9737 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4048, allocations: 1.355 MB / 0.9751 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007126/0.4055, allocations: 306.4 kB / 0.9754 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.4057, allocations: 16 kB / 0.9754 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/0.4066, allocations: 63.88 kB / 0.9754 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4068, allocations: 56.34 kB / 0.9755 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.4068, allocations: 43.91 kB / 0.9755 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00181/0.4086, allocations: 1.239 MB / 0.9767 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.9767 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001771/0.4104, allocations: 0.6626 MB / 0.9774 GB, free: 3.371 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.003684/0.4141, allocations: 2.391 MB / 0.9797 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.4159, allocations: 0.7845 MB / 0.9805 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.4159, allocations: 4 kB / 0.9805 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.3629/0.7788, allocations: 335.9 kB / 0.9808 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/0.7846, allocations: 1.195 MB / 0.982 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.8043, allocations: 12.64 MB / 0.9943 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.8056, allocations: 0.8309 MB / 0.9951 GB, free: 139.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001875/0.8075, allocations: 380.7 kB / 0.9955 GB, free: 139.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/0.8084, allocations: 0.7637 MB / 0.9963 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8084, allocations: 0 / 0.9963 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/0.8954, allocations: 62.58 MB / 1.057 GB, free: 84.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/15.98, allocations: 5.844 kB / 1.057 GB, free: 84.48 MB / 0.7169 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 20.309237445006147] Failed to read output from testmodel.py, exit status != 0: 16.17606364400126 16.192968519 15.836736391 Calling exit ...