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.00129/0.00129, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001514/0.001514, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.38/1.38, allocations: 230.6 MB / 256 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.002409/0.002409, allocations: 293.2 kB / 312.7 MB, free: 2.602 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.122/1.122, allocations: 180.6 MB / 0.5369 GB, free: 14.44 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.002884/0.002884, allocations: 101.3 kB / 0.7395 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1617, allocations: 95.39 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07625/0.238, allocations: 70.97 MB / 0.902 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.264, allocations: 17.57 MB / 0.9191 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.2674, allocations: 150.7 kB / 0.9193 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.2709, allocations: 1.242 MB / 0.9205 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.2809, allocations: 3.867 MB / 0.9243 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.2864, allocations: 2.142 MB / 0.9263 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009007/0.2954, allocations: 6.788 MB / 0.933 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.2979, allocations: 1.583 MB / 0.9345 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.303, allocations: 2.437 MB / 0.9369 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.3062, allocations: 1.775 MB / 0.9386 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.3066, allocations: 200 kB / 0.9388 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.3103, allocations: 1.341 MB / 0.9401 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.311, allocations: 0.5719 MB / 0.9407 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.3124, allocations: 1.003 MB / 0.9417 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.3187, allocations: 3.788 MB / 0.9454 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3187, allocations: 0 / 0.9454 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3187, allocations: 0 / 0.9454 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.584e-05/0.3187, allocations: 0 / 0.9454 GB, free: 4.5 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.004823/0.3235, allocations: 2.711 MB / 0.948 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3236, allocations: 13.94 kB / 0.948 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002406/0.3238, allocations: 202.8 kB / 0.9482 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/0.3245, allocations: 271.3 kB / 0.9485 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.3282, allocations: 1.964 MB / 0.9504 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3283, allocations: 110.7 kB / 0.9505 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.3285, allocations: 140 kB / 0.9506 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.3313, allocations: 1.821 MB / 0.9524 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.3313, allocations: 7.953 kB / 0.9524 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3314, allocations: 55.98 kB / 0.9525 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/0.3315, allocations: 47.94 kB / 0.9525 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3336, allocations: 1.119 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.007624/0.3413, allocations: 5.324 MB / 0.9588 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.3422, allocations: 449 kB / 0.9592 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.3429, allocations: 307 kB / 0.9595 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.3433, allocations: 116.4 kB / 0.9596 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3433, allocations: 43.06 kB / 0.9597 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/0.3433, allocations: 0 / 0.9597 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002458/0.3458, allocations: 0.9682 MB / 0.9606 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3458, allocations: 63.84 kB / 0.9607 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.3484, allocations: 1.81 MB / 0.9625 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.3485, allocations: 41.7 kB / 0.9625 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008497/0.3494, allocations: 0.9529 MB / 0.9634 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.3496, allocations: 222.1 kB / 0.9636 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.35, allocations: 230.8 kB / 0.9639 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3501, allocations: 349.9 kB / 0.9642 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.3508, allocations: 330.4 kB / 0.9645 GB, free: 380 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.352, allocations: 0.966 MB / 0.9655 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.3538, allocations: 1.017 MB / 0.9664 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3538, allocations: 4 kB / 0.9665 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002728/0.3566, allocations: 1.23 MB / 0.9677 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.3566, allocations: 12 kB / 0.9677 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.3566, allocations: 8 kB / 0.9677 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/0.3567, allocations: 16.75 kB / 0.9677 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3577, allocations: 291.6 kB / 0.968 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.3577, allocations: 19.94 kB / 0.968 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.359, allocations: 170.9 kB / 0.9681 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/0.359, allocations: 55.98 kB / 0.9682 GB, free: 12.23 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.0007778/0.3598, allocations: 453.2 kB / 0.9686 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.3602, allocations: 198.7 kB / 0.9688 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.362, allocations: 0.8705 MB / 0.9697 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.362, allocations: 8 kB / 0.9697 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.362, allocations: 0 / 0.9697 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/0.3634, allocations: 0.8095 MB / 0.9705 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.3675, allocations: 2.231 MB / 0.9727 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3675, allocations: 4 kB / 0.9727 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.3683, allocations: 184 kB / 0.9728 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.3683, allocations: 4 kB / 0.9728 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.3683, allocations: 16 kB / 0.9728 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.3683, allocations: 7.984 kB / 0.9729 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3684, allocations: 3.984 kB / 0.9729 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.3709, allocations: 1.363 MB / 0.9742 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.3716, allocations: 298.5 kB / 0.9745 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.3718, allocations: 15.98 kB / 0.9745 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.3727, allocations: 79.75 kB / 0.9746 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3729, allocations: 56.34 kB / 0.9746 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.373, allocations: 31.97 kB / 0.9747 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00183/0.3748, allocations: 1.251 MB / 0.9759 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.3748, allocations: 0 / 0.9759 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001663/0.3765, allocations: 0.6626 MB / 0.9765 GB, free: 3.508 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.003676/0.3801, allocations: 2.38 MB / 0.9788 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.3818, allocations: 0.7848 MB / 0.9796 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3818, allocations: 0 / 0.9796 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.3754/0.7572, allocations: 333.1 kB / 0.9799 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.7625, allocations: 1.196 MB / 0.9811 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.7805, allocations: 12.65 MB / 0.9934 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.7817, allocations: 0.8283 MB / 0.9943 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001775/0.7835, allocations: 381.5 kB / 0.9946 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/0.7844, allocations: 0.7677 MB / 0.9954 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.283e-06/0.7844, allocations: 0 / 0.9954 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09204/0.8764, allocations: 63.08 MB / 1.057 GB, free: 83.95 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.38, allocations: 6.656 kB / 1.057 GB, free: 83.95 MB / 0.7169 GB " [Timeout remaining time 645] (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: 18.395637331996113] Failed to read output from testmodel.py, exit status != 0: 14.533799353986979 14.546407002 14.225401479 Calling exit ...