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.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.0009811/0.0009811, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001012/0.001012, allocations: 169 kB / 23.49 MB, free: 1.062 MB / 18.57 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 0.9091/0.9091, allocations: 177.1 MB / 203.8 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002014/0.002014, allocations: 230.2 kB / 260.5 MB, free: 12.92 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7617/0.7617, allocations: 138.4 MB / 455.4 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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) 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 1.493e-06/1.493e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.368e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2754/0.2754, allocations: 80.02 MB / 0.6332 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.2961, allocations: 19.41 MB / 0.6522 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.2995, allocations: 152.4 kB / 0.6523 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.3022, allocations: 1.256 MB / 0.6535 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00924/0.3114, allocations: 3.982 MB / 0.6574 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/0.3165, allocations: 2.213 MB / 0.6596 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008253/0.3248, allocations: 6.843 MB / 0.6663 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.3273, allocations: 1.664 MB / 0.6679 GB, free: 37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006167/0.3335, allocations: 3.264 MB / 0.6711 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.3362, allocations: 1.621 MB / 0.6727 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.3366, allocations: 200 kB / 0.6728 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.34, allocations: 1.371 MB / 0.6742 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.3404, allocations: 0.5926 MB / 0.6748 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3417, allocations: 0.8523 MB / 0.6756 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.3464, allocations: 2.627 MB / 0.6782 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3464, allocations: 2.719 kB / 0.6782 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3464, allocations: 0 / 0.6782 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.315e-05/0.3464, allocations: 0 / 0.6782 GB, free: 30.99 MB / 0.5105 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.003352/0.3498, allocations: 2.794 MB / 0.6809 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3498, allocations: 10.16 kB / 0.6809 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.3506, allocations: 414.5 kB / 0.6813 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.3529, allocations: 1.961 MB / 0.6832 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.353, allocations: 110.7 kB / 0.6833 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3531, allocations: 155.9 kB / 0.6835 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.3547, allocations: 1.405 MB / 0.6848 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.3547, allocations: 4.703 kB / 0.6848 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3548, allocations: 56 kB / 0.6849 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/0.3549, allocations: 43.92 kB / 0.6849 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.3556, allocations: 494.9 kB / 0.6854 GB, free: 24.64 MB / 0.5105 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.003669/0.3593, allocations: 5.705 MB / 0.691 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.3596, allocations: 251.3 kB / 0.6912 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3598, allocations: 149.1 kB / 0.6914 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.36, allocations: 112.4 kB / 0.6915 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3601, allocations: 49.77 kB / 0.6915 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.3601, allocations: 0 / 0.6915 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.0007443/0.3608, allocations: 0.5368 MB / 0.692 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.3608, allocations: 59.91 kB / 0.6921 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.3618, allocations: 1.373 MB / 0.6934 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3618, allocations: 45.7 kB / 0.6935 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.3622, allocations: 1.01 MB / 0.6945 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.3623, allocations: 230.1 kB / 0.6947 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3624, allocations: 236.4 kB / 0.6949 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.3625, allocations: 0.516 MB / 0.6954 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3627, allocations: 126.5 kB / 0.6955 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.363, allocations: 0.9053 MB / 0.6964 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.3636, allocations: 0.7745 MB / 0.6972 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3636, allocations: 4 kB / 0.6972 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0009322/0.3645, allocations: 0.8678 MB / 0.698 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3646, allocations: 8 kB / 0.698 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3646, allocations: 12 kB / 0.698 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3646, allocations: 12 kB / 0.6981 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.3651, allocations: 268.1 kB / 0.6983 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3651, allocations: 19.94 kB / 0.6983 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.3656, allocations: 123.3 kB / 0.6985 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.3656, allocations: 48 kB / 0.6985 GB, free: 10.51 MB / 0.5105 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.0002454/0.3659, allocations: 228.2 kB / 0.6987 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.366, allocations: 195.5 kB / 0.6989 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.3667, allocations: 0.5374 MB / 0.6994 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3667, allocations: 8 kB / 0.6994 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3667, allocations: 0 / 0.6994 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003507/0.367, allocations: 493.2 kB / 0.6999 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.3687, allocations: 1.794 MB / 0.7017 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3687, allocations: 7.062 kB / 0.7017 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.369, allocations: 156 kB / 0.7018 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.369, allocations: 8 kB / 0.7018 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.3691, allocations: 19.94 kB / 0.7018 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3691, allocations: 4 kB / 0.7018 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3691, allocations: 7.938 kB / 0.7018 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.3698, allocations: 0.8577 MB / 0.7027 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.3701, allocations: 259.2 kB / 0.7029 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3702, allocations: 12 kB / 0.7029 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.3705, allocations: 47.48 kB / 0.703 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.3706, allocations: 56.34 kB / 0.703 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3706, allocations: 35.97 kB / 0.7031 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005957/0.3712, allocations: 0.8132 MB / 0.7039 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3712, allocations: 0 / 0.7039 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001112/0.3724, allocations: 0.6896 MB / 0.7045 GB, free: 4.141 MB / 0.5105 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.0006822/0.373, allocations: 0.6116 MB / 0.7051 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.3736, allocations: 486.2 kB / 0.7056 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3736, allocations: 0 / 0.7056 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3738, allocations: 203.6 kB / 0.7058 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.3758, allocations: 0.9414 MB / 0.7067 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.3788, allocations: 2.785 MB / 0.7094 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.379, allocations: 344.1 kB / 0.7098 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007453/0.3798, allocations: 323.6 kB / 0.7101 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.38, allocations: 128.5 kB / 0.7102 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.38, allocations: 0 / 0.7102 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.04098/0.421, allocations: 36.57 MB / 0.7459 GB, free: 10.56 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.767528797965497]