Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00128/0.00128, 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.001456/0.001456, allocations: 193.4 kB / 22.23 MB, free: 5.156 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.434/1.434, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8643/0.8643, allocations: 134 MB / 440.3 MB, free: 196 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64 kB / 0.6107 GB, free: 13.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 84.74 MB / 0.6935 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4289/0.5854, allocations: 78.42 MB / 0.7701 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.6087, allocations: 18.93 MB / 0.7886 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.6128, allocations: 152.1 kB / 0.7887 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.6162, allocations: 1.304 MB / 0.79 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009551/0.6258, allocations: 3.88 MB / 0.7938 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005641/0.6314, allocations: 2.182 MB / 0.7959 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.6422, allocations: 6.848 MB / 0.8026 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.646, allocations: 1.608 MB / 0.8042 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006997/0.6529, allocations: 2.406 MB / 0.8065 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.657, allocations: 1.861 MB / 0.8083 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007407/0.6577, allocations: 197.9 kB / 0.8085 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005313/0.663, allocations: 1.7 MB / 0.8102 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.6641, allocations: 0.5709 MB / 0.8107 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.6674, allocations: 1.248 MB / 0.812 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.674, allocations: 3.761 MB / 0.8156 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.674, allocations: 0 / 0.8156 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.709e-06/0.674, allocations: 7.984 kB / 0.8156 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.049e-05/0.6741, allocations: 0 / 0.8156 GB, free: 3.418 MB / 0.5762 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.004796/0.6789, allocations: 2.728 MB / 0.8183 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6789, allocations: 10.91 kB / 0.8183 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.6797, allocations: 279.3 kB / 0.8186 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.6831, allocations: 1.938 MB / 0.8205 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.6831, allocations: 120.7 kB / 0.8206 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.6833, allocations: 140.8 kB / 0.8207 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.686, allocations: 1.519 MB / 0.8222 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.686, allocations: 2.594 kB / 0.8222 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.6862, allocations: 61.83 kB / 0.8223 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.6862, allocations: 41.5 kB / 0.8223 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.6885, allocations: 1.124 MB / 0.8234 GB, free: 13.7 MB / 0.5919 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.009247/0.6978, allocations: 7.529 MB / 0.8308 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.6988, allocations: 444.4 kB / 0.8312 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.6995, allocations: 310.6 kB / 0.8315 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.6998, allocations: 120.3 kB / 0.8316 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.6999, allocations: 43.06 kB / 0.8316 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.254e-06/0.6999, allocations: 0 / 0.8316 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.0025/0.7024, allocations: 0.9682 MB / 0.8326 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.7024, allocations: 59.84 kB / 0.8326 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.7049, allocations: 1.795 MB / 0.8344 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.705, allocations: 45.7 kB / 0.8344 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/0.7059, allocations: 0.9451 MB / 0.8354 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.7061, allocations: 230 kB / 0.8356 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.7064, allocations: 230.8 kB / 0.8358 GB, free: 344 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.7067, allocations: 345.9 kB / 0.8361 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.7074, allocations: 334.4 kB / 0.8364 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.7085, allocations: 0.6909 MB / 0.8371 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.7102, allocations: 1.013 MB / 0.8381 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.7102, allocations: 4 kB / 0.8381 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002576/0.7128, allocations: 1.226 MB / 0.8393 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.7128, allocations: 11.94 kB / 0.8393 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.7128, allocations: 8.875 kB / 0.8393 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.7129, allocations: 16 kB / 0.8393 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.714, allocations: 291.6 kB / 0.8396 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.714, allocations: 19.92 kB / 0.8396 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7155, allocations: 176.1 kB / 0.8398 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.7156, allocations: 48 kB / 0.8398 GB, free: 11.89 MB / 0.6075 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.0008653/0.7164, allocations: 441.3 kB / 0.8403 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/0.7169, allocations: 202.7 kB / 0.8405 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.7189, allocations: 0.8714 MB / 0.8413 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.7189, allocations: 11.98 kB / 0.8413 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7189, allocations: 0 / 0.8413 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.7204, allocations: 0.8095 MB / 0.8421 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.7251, allocations: 2.429 MB / 0.8445 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7251, allocations: 4 kB / 0.8445 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.7259, allocations: 179.7 kB / 0.8447 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.7259, allocations: 4 kB / 0.8447 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.726, allocations: 16 kB / 0.8447 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.726, allocations: 8.094 kB / 0.8447 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.726, allocations: 0 / 0.8447 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.7288, allocations: 1.371 MB / 0.846 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/0.7298, allocations: 294.4 kB / 0.8463 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.73, allocations: 20 kB / 0.8463 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.731, allocations: 71.84 kB / 0.8464 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.7312, allocations: 48.36 kB / 0.8464 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.7312, allocations: 39.91 kB / 0.8465 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001863/0.7331, allocations: 1.247 MB / 0.8477 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.7331, allocations: 0 / 0.8477 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001999/0.7351, allocations: 0.6548 MB / 0.8483 GB, free: 2.996 MB / 0.6075 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.001219/0.7363, allocations: 0.6167 MB / 0.8489 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7382, allocations: 0.7847 MB / 0.8497 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7382, allocations: 0 / 0.8497 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.7389, allocations: 339.8 kB / 0.85 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/0.7446, allocations: 1.202 MB / 0.8512 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.7498, allocations: 3.115 MB / 0.8542 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.7509, allocations: 1.401 MB / 0.8556 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001502/0.7524, allocations: 387.3 kB / 0.856 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.7527, allocations: 151.4 kB / 0.8561 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.7527, allocations: 4 kB / 0.8561 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.07243/0.8251, allocations: 42.79 MB / 0.8979 GB, free: 0.5352 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.374761029146612] Failed to read output from testmodel.py, exit status != 0: 0.8329689996317029 0.8476545249999999 0.170498816 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8b89d9d7b0>