Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0907/0.0907, allocations: 9.133 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009198/0.0009198, allocations: 98.39 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001001/0.001001, allocations: 168.4 kB / 38.73 MB, free: 2.477 MB / 24.77 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.002/1.002, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004285/0.004285, allocations: 0.8261 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.599/1.599, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.34e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01501/0.01502, allocations: 21 MB / 0.6584 GB, free: 9.043 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.02725, allocations: 8.486 MB / 0.6667 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.02892, allocations: 158.6 kB / 0.6668 GB, free: 388 kB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.03001, allocations: 0.6669 MB / 0.6675 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.03324, allocations: 2.451 MB / 0.6699 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.03613, allocations: 1.926 MB / 0.6717 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005519/0.04165, allocations: 6.65 MB / 0.6782 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.0433, allocations: 1.676 MB / 0.6799 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2906/0.3339, allocations: 3.159 MB / 0.683 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.3373, allocations: 1.507 MB / 0.6844 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005493/0.3378, allocations: 195.7 kB / 0.6846 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3389, allocations: 395.8 kB / 0.685 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.3394, allocations: 0.5798 MB / 0.6856 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.3411, allocations: 0.8452 MB / 0.6864 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.3463, allocations: 1.915 MB / 0.6882 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3463, allocations: 1 kB / 0.6883 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3463, allocations: 0 / 0.6883 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.3463, allocations: 0.8438 kB / 0.6883 GB, free: 26.33 MB / 0.6355 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.003394/0.3497, allocations: 2.466 MB / 0.6907 GB, free: 25.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3497, allocations: 14.5 kB / 0.6907 GB, free: 25.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006785/0.3504, allocations: 318.8 kB / 0.691 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.3526, allocations: 1.351 MB / 0.6923 GB, free: 24.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/0.3527, allocations: 106.3 kB / 0.6924 GB, free: 24.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.3529, allocations: 148.2 kB / 0.6925 GB, free: 24.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3544, allocations: 1.319 MB / 0.6938 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.3545, allocations: 7.219 kB / 0.6938 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3546, allocations: 58.84 kB / 0.6939 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.3546, allocations: 43 kB / 0.6939 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.3555, allocations: 383.7 kB / 0.6943 GB, free: 23.98 MB / 0.6355 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.004877/0.3603, allocations: 4.21 MB / 0.6984 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3607, allocations: 260.2 kB / 0.6987 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.3609, allocations: 115.5 kB / 0.6988 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.361, allocations: 38.31 kB / 0.6988 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3611, allocations: 41.03 kB / 0.6988 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 3.156e-06/0.3611, allocations: 2.203 kB / 0.6988 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.0006879/0.3618, allocations: 359.2 kB / 0.6992 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3618, allocations: 66.61 kB / 0.6993 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3631, allocations: 1.267 MB / 0.7005 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.3632, allocations: 42.08 kB / 0.7005 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.3636, allocations: 0.727 MB / 0.7012 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3638, allocations: 225.3 kB / 0.7015 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.364, allocations: 221.6 kB / 0.7017 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.3641, allocations: 352.2 kB / 0.702 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.3644, allocations: 128.6 kB / 0.7021 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3649, allocations: 0.7567 MB / 0.7029 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.3657, allocations: 0.6536 MB / 0.7035 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3657, allocations: 3.719 kB / 0.7035 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001081/0.3667, allocations: 0.6649 MB / 0.7042 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3668, allocations: 10.31 kB / 0.7042 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3668, allocations: 10.31 kB / 0.7042 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.3668, allocations: 19.89 kB / 0.7042 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.3675, allocations: 260.2 kB / 0.7044 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.3675, allocations: 18 kB / 0.7045 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/0.3682, allocations: 123.5 kB / 0.7046 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.3683, allocations: 43.61 kB / 0.7046 GB, free: 19.42 MB / 0.6355 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.0002851/0.3686, allocations: 178.9 kB / 0.7048 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.3688, allocations: 118.9 kB / 0.7049 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.3695, allocations: 442.9 kB / 0.7053 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3695, allocations: 8.562 kB / 0.7053 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3695, allocations: 5.156 kB / 0.7053 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003561/0.3698, allocations: 385.3 kB / 0.7057 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.3749, allocations: 1.303 MB / 0.707 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3749, allocations: 3.625 kB / 0.707 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.3754, allocations: 143.9 kB / 0.7071 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3754, allocations: 7.125 kB / 0.7071 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3754, allocations: 16.69 kB / 0.7071 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3754, allocations: 7.156 kB / 0.7071 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3754, allocations: 4 kB / 0.7071 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.3762, allocations: 0.6573 MB / 0.7078 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.3766, allocations: 207 kB / 0.708 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.3767, allocations: 17.44 kB / 0.708 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.3774, allocations: 40.73 kB / 0.708 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3774, allocations: 52.59 kB / 0.7081 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.3775, allocations: 27.16 kB / 0.7081 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003947/0.3779, allocations: 0.6343 MB / 0.7087 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 0.7087 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007191/0.3786, allocations: 0.5233 MB / 0.7093 GB, free: 18.05 MB / 0.6355 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.0002354/0.3788, allocations: 174.3 kB / 0.7094 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3792, allocations: 444.9 kB / 0.7098 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-05/0.3792, allocations: 21.88 kB / 0.7099 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3794, allocations: 165 kB / 0.71 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.3812, allocations: 0.932 MB / 0.7109 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3837, allocations: 2.715 MB / 0.7136 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3839, allocations: 332.4 kB / 0.7139 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005837/0.3845, allocations: 275.4 kB / 0.7142 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/0.3855, allocations: 0.6357 MB / 0.7148 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/0.3855, allocations: 0 / 0.7148 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.03405/0.4195, allocations: 33.35 MB / 0.7474 GB, free: 7.141 MB / 0.6512 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.580472371075302]