Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001395/0.001395, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001321/0.001321, allocations: 173 kB / 23.49 MB, free: 1.059 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.9581/0.9581, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001608/0.001608, allocations: 241.8 kB / 260.5 MB, free: 12.89 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.7426/0.7426, allocations: 138.4 MB / 455.4 MB, free: 1.57 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.02e-05, allocations: 5.406 kB / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03478/0.03481, allocations: 43.13 MB / 0.5972 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.2293/0.2641, allocations: 10.63 MB / 0.6075 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.2655, allocations: 76.44 kB / 0.6076 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2668, allocations: 0.6412 MB / 0.6082 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.2706, allocations: 2.069 MB / 0.6103 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.2728, allocations: 1.24 MB / 0.6115 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2758, allocations: 3.474 MB / 0.6149 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000969/0.2768, allocations: 0.845 MB / 0.6157 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.2793, allocations: 1.721 MB / 0.6174 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.2805, allocations: 0.8227 MB / 0.6182 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.2807, allocations: 98.78 kB / 0.6183 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.2823, allocations: 0.7246 MB / 0.619 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.2826, allocations: 303 kB / 0.6193 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000683/0.2833, allocations: 441.2 kB / 0.6197 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.2857, allocations: 1.369 MB / 0.621 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2858, allocations: 1.969 kB / 0.621 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2858, allocations: 0.9375 kB / 0.621 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.2858, allocations: 2.719 kB / 0.621 GB, free: 57.68 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002312/0.2881, allocations: 1.566 MB / 0.6226 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2881, allocations: 10.59 kB / 0.6226 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.2886, allocations: 203.9 kB / 0.6228 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2901, allocations: 1.067 MB / 0.6238 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.2901, allocations: 57.16 kB / 0.6239 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/0.2902, allocations: 73.84 kB / 0.6239 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.2911, allocations: 0.7386 MB / 0.6247 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2911, allocations: 4.938 kB / 0.6247 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.2912, allocations: 32.16 kB / 0.6247 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.2912, allocations: 21.97 kB / 0.6247 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.2917, allocations: 250 kB / 0.6249 GB, free: 56.08 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.00276/0.2945, allocations: 2.929 MB / 0.6278 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.2948, allocations: 146 kB / 0.6279 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2949, allocations: 81.66 kB / 0.628 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.2951, allocations: 66.23 kB / 0.6281 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2952, allocations: 44.61 kB / 0.6281 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.2952, allocations: 4 kB / 0.6281 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0005921/0.2958, allocations: 294.1 kB / 0.6284 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.2958, allocations: 55.38 kB / 0.6285 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.2966, allocations: 0.7466 MB / 0.6292 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.2966, allocations: 37.55 kB / 0.6292 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.2969, allocations: 0.5495 MB / 0.6298 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.297, allocations: 125.2 kB / 0.6299 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2971, allocations: 124.1 kB / 0.63 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.2972, allocations: 0.4968 MB / 0.6305 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2973, allocations: 63.94 kB / 0.6306 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2975, allocations: 467.6 kB / 0.631 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.2979, allocations: 393.2 kB / 0.6314 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2979, allocations: 1.094 kB / 0.6314 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006519/0.2986, allocations: 456.3 kB / 0.6318 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2986, allocations: 8.875 kB / 0.6318 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2986, allocations: 9.625 kB / 0.6318 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.2986, allocations: 7.906 kB / 0.6318 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.2989, allocations: 119.6 kB / 0.6319 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2989, allocations: 12.81 kB / 0.632 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.2993, allocations: 61.86 kB / 0.632 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.2994, allocations: 26.08 kB / 0.632 GB, free: 51.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0002241/0.2996, allocations: 191.8 kB / 0.6322 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2997, allocations: 102.5 kB / 0.6323 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.3002, allocations: 306.5 kB / 0.6326 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3002, allocations: 5.172 kB / 0.6326 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3002, allocations: 0.7969 kB / 0.6326 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002462/0.3004, allocations: 285.3 kB / 0.6329 GB, free: 50.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3017, allocations: 1.038 MB / 0.6339 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3017, allocations: 1.469 kB / 0.6339 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3019, allocations: 70.33 kB / 0.634 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.302, allocations: 7.375 kB / 0.634 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.302, allocations: 9.625 kB / 0.634 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.302, allocations: 7.438 kB / 0.634 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.302, allocations: 2.156 kB / 0.634 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.3025, allocations: 0.5416 MB / 0.6345 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.3027, allocations: 134.2 kB / 0.6347 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.3028, allocations: 8.797 kB / 0.6347 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.303, allocations: 19.05 kB / 0.6347 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3031, allocations: 34.8 kB / 0.6347 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.3031, allocations: 19.83 kB / 0.6347 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004606/0.3036, allocations: 479.3 kB / 0.6352 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3036, allocations: 0 / 0.6352 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009594/0.3045, allocations: 363.3 kB / 0.6355 GB, free: 49.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0005627/0.3051, allocations: 377.4 kB / 0.6359 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3055, allocations: 246.7 kB / 0.6361 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3055, allocations: 0 / 0.6361 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3057, allocations: 110.7 kB / 0.6362 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.307, allocations: 0.4962 MB / 0.6367 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.3093, allocations: 1.446 MB / 0.6381 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3095, allocations: 194.4 kB / 0.6383 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005852/0.31, allocations: 162.7 kB / 0.6385 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3102, allocations: 73.27 kB / 0.6385 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.492e-06/0.3102, allocations: 0 / 0.6385 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.02236/0.3326, allocations: 18.86 MB / 0.657 GB, free: 41.53 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.337344255065545]