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.001494/0.001494, allocations: 110 kB / 18.93 MB, free: 2.945 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.001373/0.001373, allocations: 186.7 kB / 22.23 MB, free: 5.16 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.433/1.433, allocations: 225.6 MB / 251 MB, free: 13.03 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.002544/0.002544, allocations: 285.8 kB / 306.6 MB, free: 8.348 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.199/1.199, allocations: 180.9 MB / 0.53 GB, free: 14.51 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.00275/0.00275, allocations: 107.8 kB / 0.7308 GB, free: 39.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 94.2 MB / 0.8228 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07928/0.2484, allocations: 78.44 MB / 0.8994 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.2754, allocations: 18.98 MB / 0.918 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/0.2789, allocations: 150.7 kB / 0.9181 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.282, allocations: 1.301 MB / 0.9194 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009901/0.2919, allocations: 3.883 MB / 0.9232 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.2975, allocations: 2.2 MB / 0.9253 GB, free: 8.711 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.3087, allocations: 6.863 MB / 0.932 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/0.3121, allocations: 1.591 MB / 0.9336 GB, free: 208 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.3181, allocations: 2.402 MB / 0.9359 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.3214, allocations: 1.861 MB / 0.9378 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.3218, allocations: 200 kB / 0.9379 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.3259, allocations: 1.696 MB / 0.9396 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.3266, allocations: 0.5718 MB / 0.9402 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.3284, allocations: 1.248 MB / 0.9414 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.3346, allocations: 3.741 MB / 0.945 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3346, allocations: 3.938 kB / 0.945 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.907e-06/0.3346, allocations: 3.984 kB / 0.945 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.03e-05/0.3347, allocations: 0 / 0.945 GB, free: 4.453 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.004597/0.3393, allocations: 2.715 MB / 0.9477 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3393, allocations: 8.031 kB / 0.9477 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.34, allocations: 279.3 kB / 0.948 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.3434, allocations: 1.964 MB / 0.9499 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.3434, allocations: 106.7 kB / 0.95 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.3437, allocations: 140 kB / 0.9501 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.3463, allocations: 1.52 MB / 0.9516 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.3463, allocations: 3.938 kB / 0.9516 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.3465, allocations: 63.98 kB / 0.9517 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.3465, allocations: 40 kB / 0.9517 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.3487, allocations: 1.119 MB / 0.9528 GB, free: 12.33 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.00856/0.3573, allocations: 7.526 MB / 0.9601 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3583, allocations: 452.2 kB / 0.9606 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.3589, allocations: 311.2 kB / 0.9609 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/0.3593, allocations: 108.4 kB / 0.961 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.3594, allocations: 43.06 kB / 0.961 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.945e-06/0.3594, allocations: 0 / 0.961 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002404/0.3618, allocations: 0.9682 MB / 0.962 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.3619, allocations: 59.91 kB / 0.962 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.3643, allocations: 1.795 MB / 0.9638 GB, free: 448 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.3644, allocations: 49.62 kB / 0.9638 GB, free: 392 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/0.3652, allocations: 0.9412 MB / 0.9647 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3655, allocations: 226.1 kB / 0.965 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.3658, allocations: 230.8 kB / 0.9652 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.366, allocations: 353.9 kB / 0.9655 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.3667, allocations: 330.4 kB / 0.9658 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3677, allocations: 0.6899 MB / 0.9665 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.3694, allocations: 1.013 MB / 0.9675 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3694, allocations: 4 kB / 0.9675 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002609/0.372, allocations: 1.222 MB / 0.9687 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.372, allocations: 12 kB / 0.9687 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.372, allocations: 8 kB / 0.9687 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.372, allocations: 16.75 kB / 0.9687 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.373, allocations: 295.5 kB / 0.969 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.3731, allocations: 19.94 kB / 0.969 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3744, allocations: 170.9 kB / 0.9692 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.3745, allocations: 55.98 kB / 0.9692 GB, free: 10.51 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.0007995/0.3753, allocations: 445.9 kB / 0.9697 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.3757, allocations: 206.7 kB / 0.9699 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.3775, allocations: 0.8737 MB / 0.9707 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.3775, allocations: 8 kB / 0.9707 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3775, allocations: 0 / 0.9707 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/0.3789, allocations: 0.7979 MB / 0.9715 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.3832, allocations: 2.433 MB / 0.9739 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3832, allocations: 7.969 kB / 0.9739 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.3839, allocations: 179.7 kB / 0.9741 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.3839, allocations: 4 kB / 0.9741 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.384, allocations: 20 kB / 0.9741 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.384, allocations: 7.984 kB / 0.9741 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.384, allocations: 11.94 kB / 0.9741 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.3865, allocations: 1.359 MB / 0.9754 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.3872, allocations: 310.4 kB / 0.9757 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.3874, allocations: 12 kB / 0.9757 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/0.3883, allocations: 59.86 kB / 0.9758 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3884, allocations: 56.41 kB / 0.9758 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.3885, allocations: 39.97 kB / 0.9759 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001867/0.3904, allocations: 1.239 MB / 0.9771 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3904, allocations: 0 / 0.9771 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001765/0.3921, allocations: 0.6664 MB / 0.9777 GB, free: 1.59 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.001163/0.3933, allocations: 0.6177 MB / 0.9783 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.3951, allocations: 0.7815 MB / 0.9791 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3951, allocations: 0 / 0.9791 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.3958, allocations: 339.1 kB / 0.9794 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/0.4004, allocations: 1.198 MB / 0.9806 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.4053, allocations: 3.121 MB / 0.9837 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4063, allocations: 1.405 MB / 0.985 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001301/0.4076, allocations: 380.7 kB / 0.9854 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.408, allocations: 155.4 kB / 0.9855 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.408, allocations: 0 / 0.9855 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.4299/0.8378, allocations: 42.84 MB / 1.027 GB, free: 170 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.689261597581208] Failed to read output from testmodel.py, exit status != 0: 0.8450466245412827 0.8549387039999999 0.5178862000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc81dc2d7b0>