Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001721/0.001721, allocations: 112.8 kB / 17.08 MB, free: 5.988 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.001845/0.001845, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.216/1.216, allocations: 173.4 MB / 471.3 MB, free: 6.711 MB / 366.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-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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 70.25 kB / 0.649 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2022, allocations: 89.53 MB / 0.7364 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09134/0.2936, allocations: 77.29 MB / 0.8119 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.3251, allocations: 18.89 MB / 0.8303 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.3301, allocations: 107.4 kB / 0.8304 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.3347, allocations: 1.254 MB / 0.8317 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.012/0.3467, allocations: 3.622 MB / 0.8352 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006275/0.353, allocations: 2.095 MB / 0.8373 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.3645, allocations: 6.7 MB / 0.8438 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.3689, allocations: 2.079 MB / 0.8458 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007304/0.3762, allocations: 2.603 MB / 0.8484 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.3803, allocations: 1.737 MB / 0.8501 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009216/0.3812, allocations: 203.9 kB / 0.8503 GB, free: 14.71 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005186/0.3864, allocations: 1.61 MB / 0.8518 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.3876, allocations: 0.541 MB / 0.8524 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.3905, allocations: 1.248 MB / 0.8536 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008862/0.3994, allocations: 3.757 MB / 0.8572 GB, free: 7.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3995, allocations: 0 / 0.8572 GB, free: 7.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3995, allocations: 4 kB / 0.8572 GB, free: 7.527 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001426/0.3996, allocations: 3.938 kB / 0.8573 GB, free: 7.523 MB / 0.67 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.007477/0.4071, allocations: 2.778 MB / 0.86 GB, free: 4.676 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4072, allocations: 12.03 kB / 0.86 GB, free: 4.664 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.4084, allocations: 282.7 kB / 0.8602 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.4129, allocations: 2.04 MB / 0.8622 GB, free: 2.297 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.4131, allocations: 110.7 kB / 0.8623 GB, free: 2.188 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.4134, allocations: 140 kB / 0.8625 GB, free: 2.051 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.417, allocations: 1.516 MB / 0.864 GB, free: 468 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.417, allocations: 7.938 kB / 0.864 GB, free: 460 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.4172, allocations: 60 kB / 0.864 GB, free: 400 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/0.4173, allocations: 39.94 kB / 0.8641 GB, free: 360 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4377/0.855, allocations: 1.118 MB / 0.8652 GB, free: 123.5 MB / 0.67 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.009321/0.8644, allocations: 7.934 MB / 0.8729 GB, free: 118.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.8655, allocations: 480.1 kB / 0.8734 GB, free: 117.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.8662, allocations: 326.5 kB / 0.8737 GB, free: 117.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.8668, allocations: 1.158 MB / 0.8748 GB, free: 116.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.8669, allocations: 40.59 kB / 0.8748 GB, free: 116.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.8669, allocations: 3.391 kB / 0.8748 GB, free: 116.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002553/0.8694, allocations: 0.9722 MB / 0.8758 GB, free: 116.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.8695, allocations: 58.47 kB / 0.8759 GB, free: 116 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.8723, allocations: 1.794 MB / 0.8776 GB, free: 115.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.8724, allocations: 39.64 kB / 0.8776 GB, free: 115.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.8731, allocations: 0.947 MB / 0.8786 GB, free: 114.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.8734, allocations: 230.5 kB / 0.8788 GB, free: 114.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.8737, allocations: 227.5 kB / 0.879 GB, free: 114.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.8738, allocations: 344.9 kB / 0.8793 GB, free: 114 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.8745, allocations: 329.8 kB / 0.8796 GB, free: 113.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/0.8754, allocations: 0.6892 MB / 0.8803 GB, free: 113.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.8769, allocations: 1.008 MB / 0.8813 GB, free: 112.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.877, allocations: 3.5 kB / 0.8813 GB, free: 112.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002363/0.8793, allocations: 1.229 MB / 0.8825 GB, free: 112.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.8794, allocations: 9.75 kB / 0.8825 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.8794, allocations: 11.88 kB / 0.8825 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.8794, allocations: 17.59 kB / 0.8825 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8806, allocations: 291.4 kB / 0.8828 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.8806, allocations: 25.97 kB / 0.8828 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.882, allocations: 167 kB / 0.883 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/0.8821, allocations: 50.88 kB / 0.8831 GB, free: 112.1 MB / 0.67 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.0008268/0.883, allocations: 442 kB / 0.8835 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.8834, allocations: 204.8 kB / 0.8837 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.8855, allocations: 0.8645 MB / 0.8845 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.8855, allocations: 7.391 kB / 0.8845 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8856, allocations: 4.547 kB / 0.8845 GB, free: 111.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/0.8871, allocations: 0.7918 MB / 0.8853 GB, free: 110.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.8919, allocations: 2.457 MB / 0.8877 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8919, allocations: 5.094 kB / 0.8877 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/0.8927, allocations: 175.8 kB / 0.8879 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.8927, allocations: 6.094 kB / 0.8879 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.8928, allocations: 22.97 kB / 0.8879 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.8928, allocations: 5.125 kB / 0.8879 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8928, allocations: 11.64 kB / 0.8879 GB, free: 109.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.8952, allocations: 1.34 MB / 0.8892 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006862/0.8959, allocations: 377 kB / 0.8896 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.8962, allocations: 21.53 kB / 0.8896 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.8971, allocations: 64.62 kB / 0.8897 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8972, allocations: 50.89 kB / 0.8897 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.8973, allocations: 42.11 kB / 0.8898 GB, free: 108.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001688/0.899, allocations: 1.233 MB / 0.891 GB, free: 108.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.899, allocations: 0 / 0.891 GB, free: 108.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001915/0.9009, allocations: 0.6622 MB / 0.8916 GB, free: 108.1 MB / 0.67 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.001161/0.9021, allocations: 0.6141 MB / 0.8922 GB, free: 107.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.9039, allocations: 0.8183 MB / 0.893 GB, free: 107.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9039, allocations: 1.219 kB / 0.893 GB, free: 107.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.9046, allocations: 361.3 kB / 0.8934 GB, free: 107.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005118/0.9097, allocations: 1.194 MB / 0.8945 GB, free: 106.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.9142, allocations: 3.145 MB / 0.8976 GB, free: 104.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.9148, allocations: 1.393 MB / 0.8989 GB, free: 103.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.9153, allocations: 157.8 kB / 0.8991 GB, free: 103.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/0.9153, allocations: 0 / 0.8991 GB, free: 103.9 MB / 0.67 GB Notification: Performance of Templates: time 0.04003/0.9553, allocations: 35.05 MB / 0.9333 GB, free: 71.91 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.70663511287421] Failed to read output from testmodel.py, exit status != 0: 0.9614104530774057 0.970010806 0.568719641 Calling exit ...