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.001199/0.001199, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001316/0.001316, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002292/0.002292, allocations: 286.9 kB / 309.8 MB, free: 3.43 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.031/1.031, allocations: 180.6 MB / 0.5337 GB, free: 12.38 MB / 398.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.002766/0.002766, allocations: 111.8 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5738, allocations: 95.32 MB / 0.8278 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08496/0.6588, allocations: 78.04 MB / 0.904 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03049/0.6893, allocations: 18.9 MB / 0.9225 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005198/0.6945, allocations: 152.8 kB / 0.9226 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.699, allocations: 1.303 MB / 0.9239 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.7125, allocations: 3.809 MB / 0.9276 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007112/0.7196, allocations: 2.102 MB / 0.9296 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.7308, allocations: 6.694 MB / 0.9362 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.7346, allocations: 1.7 MB / 0.9378 GB, free: 9 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/0.7414, allocations: 2.411 MB / 0.9402 GB, free: 6.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/0.7456, allocations: 1.849 MB / 0.942 GB, free: 4.734 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008846/0.7465, allocations: 196 kB / 0.9422 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007314/0.7538, allocations: 1.731 MB / 0.9439 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.755, allocations: 0.5679 MB / 0.9444 GB, free: 2.238 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002853/0.7578, allocations: 1.252 MB / 0.9457 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.766, allocations: 3.845 MB / 0.9494 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.766, allocations: 0 / 0.9494 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.766, allocations: 0 / 0.9494 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001094/0.7661, allocations: 0 / 0.9494 GB, free: 13.12 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.005878/0.772, allocations: 2.794 MB / 0.9521 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.772, allocations: 16.03 kB / 0.9522 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.104e-05/0.7721, allocations: 34.89 kB / 0.9522 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003168/0.7724, allocations: 198.8 kB / 0.9524 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.7732, allocations: 283.1 kB / 0.9526 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.7769, allocations: 2.03 MB / 0.9546 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.777, allocations: 110.6 kB / 0.9547 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.7773, allocations: 140 kB / 0.9549 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.7801, allocations: 1.527 MB / 0.9564 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.7801, allocations: 11.89 kB / 0.9564 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.7803, allocations: 56 kB / 0.9564 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.7803, allocations: 40 kB / 0.9565 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.7827, allocations: 1.13 MB / 0.9576 GB, free: 4.562 MB / 0.6856 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.009483/0.7921, allocations: 7.612 MB / 0.965 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.7932, allocations: 460.5 kB / 0.9654 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.7938, allocations: 310.3 kB / 0.9657 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/0.7948, allocations: 1.148 MB / 0.9669 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.7948, allocations: 39.12 kB / 0.9669 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 1.254e-05/0.7949, allocations: 0 / 0.9669 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.00245/0.7973, allocations: 0.9856 MB / 0.9679 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.7973, allocations: 55.97 kB / 0.9679 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.8, allocations: 1.791 MB / 0.9697 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.8001, allocations: 37.7 kB / 0.9697 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009016/0.801, allocations: 0.949 MB / 0.9706 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.8012, allocations: 230 kB / 0.9708 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.8016, allocations: 222.8 kB / 0.9711 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8017, allocations: 349.9 kB / 0.9714 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.8025, allocations: 334.4 kB / 0.9717 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.8036, allocations: 0.6782 MB / 0.9724 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.8054, allocations: 1.02 MB / 0.9734 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.8055, allocations: 4 kB / 0.9734 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002626/0.8081, allocations: 1.222 MB / 0.9746 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8081, allocations: 8.875 kB / 0.9746 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.8081, allocations: 12 kB / 0.9746 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.8082, allocations: 20 kB / 0.9746 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8092, allocations: 291.5 kB / 0.9749 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.029e-05/0.8092, allocations: 23.92 kB / 0.9749 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.8105, allocations: 162.9 kB / 0.9751 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.8106, allocations: 48 kB / 0.9751 GB, free: 1.371 MB / 0.7012 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.0007712/0.8114, allocations: 441.4 kB / 0.9755 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/0.8119, allocations: 206.7 kB / 0.9757 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.8139, allocations: 0.8632 MB / 0.9766 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.8139, allocations: 4 kB / 0.9766 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.8139, allocations: 3.984 kB / 0.9766 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/0.8153, allocations: 0.7918 MB / 0.9773 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004631/0.8199, allocations: 2.455 MB / 0.9797 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/0.8199, allocations: 4 kB / 0.9797 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.8208, allocations: 179.7 kB / 0.9799 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.8208, allocations: 4 kB / 0.9799 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.8208, allocations: 24.2 kB / 0.9799 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.8208, allocations: 7.938 kB / 0.98 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8208, allocations: 11.88 kB / 0.98 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.8235, allocations: 1.341 MB / 0.9813 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007592/0.8243, allocations: 379.5 kB / 0.9816 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.8246, allocations: 12 kB / 0.9816 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.8258, allocations: 67.81 kB / 0.9817 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.826, allocations: 52.44 kB / 0.9818 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/0.8261, allocations: 44 kB / 0.9818 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002348/0.8284, allocations: 1.235 MB / 0.983 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8284, allocations: 0 / 0.983 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002246/0.8306, allocations: 0.6626 MB / 0.9837 GB, free: 8.383 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.004217/0.8349, allocations: 2.374 MB / 0.986 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.8367, allocations: 0.7805 MB / 0.9867 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8367, allocations: 0 / 0.9867 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.8375, allocations: 336.4 kB / 0.9871 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/0.8431, allocations: 1.203 MB / 0.9882 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.8636, allocations: 12.63 MB / 1.001 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.8648, allocations: 1.409 MB / 1.002 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001431/0.8662, allocations: 388 kB / 1.002 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.8673, allocations: 0.7648 MB / 1.003 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.8673, allocations: 0 / 1.003 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.9746, allocations: 57.84 MB / 1.06 GB, free: 10.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.74, allocations: 18.78 kB / 1.06 GB, free: 10.81 MB / 0.795 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 & /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: 16.777388972986955] Failed to read output from testmodel.py, exit status != 0: 12.903375259018503 12.919440712 12.149895246 Calling exit ...