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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 195.2 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 251.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 283.2 kB / 307 MB, free: 8.453 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.8 MB / 0.5304 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 106 kB / 0.7311 GB, free: 38.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.155, allocations: 94.21 MB / 0.8231 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07883/0.2338, allocations: 77.65 MB / 0.8989 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.2604, allocations: 18.85 MB / 0.9174 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.2632, allocations: 150.7 kB / 0.9175 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.266, allocations: 1.3 MB / 0.9188 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008421/0.2745, allocations: 3.879 MB / 0.9226 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.2791, allocations: 2.201 MB / 0.9247 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008095/0.2872, allocations: 6.848 MB / 0.9314 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.2894, allocations: 1.595 MB / 0.933 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/0.2937, allocations: 2.402 MB / 0.9353 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.296, allocations: 1.861 MB / 0.9371 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.2963, allocations: 204 kB / 0.9373 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.2992, allocations: 1.349 MB / 0.9386 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.2998, allocations: 0.564 MB / 0.9392 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.3011, allocations: 1.252 MB / 0.9404 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004842/0.3059, allocations: 3.682 MB / 0.944 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3059, allocations: 0 / 0.944 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3059, allocations: 0 / 0.944 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.306, allocations: 0 / 0.944 GB, free: 5.75 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.004316/0.3103, allocations: 2.711 MB / 0.9466 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3103, allocations: 8.031 kB / 0.9467 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.311, allocations: 283.3 kB / 0.9469 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.3143, allocations: 1.953 MB / 0.9488 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.3144, allocations: 106.7 kB / 0.9489 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.3146, allocations: 148 kB / 0.9491 GB, free: 468 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.3174, allocations: 1.825 MB / 0.9509 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3174, allocations: 0 / 0.9509 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.3175, allocations: 60 kB / 0.9509 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.3176, allocations: 36 kB / 0.9509 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.3199, allocations: 1.126 MB / 0.952 GB, free: 13.25 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.008141/0.328, allocations: 7.498 MB / 0.9594 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/0.329, allocations: 444.3 kB / 0.9598 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.3296, allocations: 311.2 kB / 0.9601 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.33, allocations: 108.4 kB / 0.9602 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.33, allocations: 43.06 kB / 0.9602 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 1.954e-06/0.33, allocations: 0 / 0.9602 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002182/0.3322, allocations: 0.9721 MB / 0.9612 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3323, allocations: 59.91 kB / 0.9612 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.3345, allocations: 1.795 MB / 0.963 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.3346, allocations: 41.7 kB / 0.963 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.3353, allocations: 0.9412 MB / 0.964 GB, free: 408 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3355, allocations: 226.1 kB / 0.9642 GB, free: 180 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.3359, allocations: 230.8 kB / 0.9644 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.336, allocations: 349.9 kB / 0.9647 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.3367, allocations: 330.4 kB / 0.965 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3379, allocations: 0.9738 MB / 0.966 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3396, allocations: 1.013 MB / 0.967 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3396, allocations: 0 / 0.967 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002244/0.3418, allocations: 1.234 MB / 0.9682 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3419, allocations: 8 kB / 0.9682 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3419, allocations: 16 kB / 0.9682 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.3419, allocations: 19.94 kB / 0.9682 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.3429, allocations: 288.1 kB / 0.9685 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.3429, allocations: 19.94 kB / 0.9685 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.344, allocations: 166.9 kB / 0.9687 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.3441, allocations: 51.98 kB / 0.9687 GB, free: 11.13 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.0006168/0.3447, allocations: 458.5 kB / 0.9692 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.345, allocations: 202.7 kB / 0.9694 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3468, allocations: 0.8753 MB / 0.9702 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3468, allocations: 4 kB / 0.9702 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3468, allocations: 0 / 0.9702 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/0.3483, allocations: 0.8057 MB / 0.971 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.3523, allocations: 2.429 MB / 0.9734 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3523, allocations: 3.938 kB / 0.9734 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.3531, allocations: 180 kB / 0.9735 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.3531, allocations: 7.984 kB / 0.9736 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.3531, allocations: 23.98 kB / 0.9736 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3531, allocations: 7.938 kB / 0.9736 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3531, allocations: 0 / 0.9736 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.3556, allocations: 1.367 MB / 0.9749 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.3562, allocations: 298.4 kB / 0.9752 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.3565, allocations: 16 kB / 0.9752 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.3575, allocations: 55.92 kB / 0.9753 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3576, allocations: 52.41 kB / 0.9753 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.3576, allocations: 39.97 kB / 0.9754 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00166/0.3593, allocations: 1.239 MB / 0.9766 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.3593, allocations: 7.938 kB / 0.9766 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001577/0.3609, allocations: 0.6626 MB / 0.9772 GB, free: 2.211 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.001124/0.362, allocations: 0.6203 MB / 0.9778 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.3637, allocations: 0.7884 MB / 0.9786 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3637, allocations: 0 / 0.9786 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.3644, allocations: 340.1 kB / 0.9789 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004872/0.3693, allocations: 1.198 MB / 0.9801 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.3739, allocations: 3.125 MB / 0.9831 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.3751, allocations: 1.409 MB / 0.9845 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00137/0.3765, allocations: 379.7 kB / 0.9849 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3768, allocations: 147.4 kB / 0.985 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/0.3768, allocations: 0 / 0.985 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.4208/0.7976, allocations: 42.84 MB / 1.027 GB, free: 169.4 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.534224077942781] Failed to read output from testmodel.py, exit status != 0: 0.8049339159624651 0.814994139 0.506718639 Calling exit ...