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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0016/0.0016, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.812 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.002582/0.002582, allocations: 286 kB / 312.7 MB, free: 2.637 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.287/1.287, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [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.003029/0.003029, allocations: 103.7 kB / 0.74 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1828, allocations: 95.39 MB / 0.8331 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08474/0.2675, allocations: 70.98 MB / 0.9025 GB, free: 0.6094 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02825/0.2957, allocations: 17.55 MB / 0.9196 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.2994, allocations: 154.7 kB / 0.9197 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.3028, allocations: 1.238 MB / 0.9209 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.3135, allocations: 3.876 MB / 0.9247 GB, free: 9.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.3199, allocations: 2.143 MB / 0.9268 GB, free: 7.605 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.3313, allocations: 6.793 MB / 0.9335 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003854/0.3351, allocations: 1.583 MB / 0.935 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00673/0.3419, allocations: 2.418 MB / 0.9374 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.3458, allocations: 1.785 MB / 0.9391 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007408/0.3465, allocations: 200 kB / 0.9393 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.3509, allocations: 1.337 MB / 0.9406 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009271/0.3518, allocations: 0.5757 MB / 0.9412 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.3541, allocations: 1.003 MB / 0.9421 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.361, allocations: 3.784 MB / 0.9458 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.361, allocations: 3.938 kB / 0.9458 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3611, allocations: 4 kB / 0.9459 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.429e-05/0.3611, allocations: 0 / 0.9459 GB, free: 4.031 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.00489/0.366, allocations: 2.703 MB / 0.9485 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.366, allocations: 9.938 kB / 0.9485 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.3667, allocations: 279.3 kB / 0.9488 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.3705, allocations: 1.961 MB / 0.9507 GB, free: 14.99 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.3706, allocations: 106.7 kB / 0.9508 GB, free: 14.89 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.371, allocations: 144 kB / 0.9509 GB, free: 14.75 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.374, allocations: 1.818 MB / 0.9527 GB, free: 12.78 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.374, allocations: 7.891 kB / 0.9527 GB, free: 12.77 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.3742, allocations: 67.98 kB / 0.9528 GB, free: 12.7 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.3742, allocations: 39.94 kB / 0.9528 GB, free: 12.66 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.3767, allocations: 1.115 MB / 0.9539 GB, free: 11.54 MB / 0.7013 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.008173/0.3849, allocations: 5.096 MB / 0.9589 GB, free: 6.305 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.386, allocations: 444.9 kB / 0.9593 GB, free: 5.859 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.3867, allocations: 310.9 kB / 0.9596 GB, free: 5.555 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.3871, allocations: 116.4 kB / 0.9597 GB, free: 5.441 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3872, allocations: 47 kB / 0.9597 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.3872, allocations: 0 / 0.9597 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of matching and sorting (n=59): time 0.002538/0.3897, allocations: 0.9449 MB / 0.9607 GB, free: 4.434 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3898, allocations: 59.91 kB / 0.9607 GB, free: 4.363 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.3919, allocations: 1.539 MB / 0.9622 GB, free: 2.824 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.392, allocations: 41.7 kB / 0.9623 GB, free: 2.777 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.393, allocations: 0.9591 MB / 0.9632 GB, free: 1.809 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.3933, allocations: 234 kB / 0.9634 GB, free: 1.578 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.3938, allocations: 226.8 kB / 0.9636 GB, free: 1.352 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.394, allocations: 345.9 kB / 0.964 GB, free: 1.008 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/0.3948, allocations: 326.4 kB / 0.9643 GB, free: 0.6875 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3961, allocations: 0.9738 MB / 0.9652 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.398, allocations: 1.017 MB / 0.9662 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.398, allocations: 0 / 0.9662 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002561/0.4006, allocations: 1.203 MB / 0.9674 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4006, allocations: 8.875 kB / 0.9674 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.4006, allocations: 12 kB / 0.9674 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/0.4007, allocations: 20 kB / 0.9674 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.4017, allocations: 287.5 kB / 0.9677 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.4018, allocations: 23.92 kB / 0.9677 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4029, allocations: 135.2 kB / 0.9679 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.403, allocations: 55.98 kB / 0.9679 GB, free: 12.6 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.0008238/0.4038, allocations: 442 kB / 0.9683 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.4042, allocations: 174.9 kB / 0.9685 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.4061, allocations: 0.8531 MB / 0.9693 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.4062, allocations: 8 kB / 0.9694 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4062, allocations: 0 / 0.9694 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.4077, allocations: 0.8096 MB / 0.9701 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.412, allocations: 2.068 MB / 0.9722 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.412, allocations: 0 / 0.9722 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.4128, allocations: 184 kB / 0.9723 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.4128, allocations: 7.938 kB / 0.9723 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.4128, allocations: 27.92 kB / 0.9724 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.4129, allocations: 7.938 kB / 0.9724 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4129, allocations: 7.938 kB / 0.9724 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.4157, allocations: 1.329 MB / 0.9737 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007313/0.4164, allocations: 266.6 kB / 0.9739 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.4166, allocations: 15.94 kB / 0.974 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/0.4175, allocations: 63.91 kB / 0.974 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4177, allocations: 48.42 kB / 0.9741 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.4177, allocations: 39.97 kB / 0.9741 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001673/0.4194, allocations: 1.012 MB / 0.9751 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.4194, allocations: 0 / 0.9751 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002508/0.4219, allocations: 0.6896 MB / 0.9758 GB, free: 4.414 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.001122/0.423, allocations: 0.5849 MB / 0.9763 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.425, allocations: 0.7887 MB / 0.9771 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.425, allocations: 4 kB / 0.9771 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.4258, allocations: 335.8 kB / 0.9774 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/0.4303, allocations: 0.9145 MB / 0.9783 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3454/0.7756, allocations: 3.071 MB / 0.9813 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.7767, allocations: 0.8289 MB / 0.9821 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001857/0.7785, allocations: 335.2 kB / 0.9825 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.7789, allocations: 130.7 kB / 0.9826 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.7789, allocations: 0.875 kB / 0.9826 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.05322/0.8321, allocations: 39.54 MB / 1.021 GB, free: 118.2 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.09837881103158] Failed to read output from testmodel.py, exit status != 0: 0.8392975516617298 0.848571337 0.48521949899999994 Calling exit ...