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.001381/0.001381, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001612/0.001612, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.328 MB / 186.7 MB " [Timeout remaining time 178] 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.002694/0.002694, allocations: 242.6 kB / 259.8 MB, free: 12.7 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 1.073/1.073, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.463e-06/1.463e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.297e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05292/0.05296, allocations: 38.08 MB / 0.5915 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.07132, allocations: 9.677 MB / 0.601 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.07327, allocations: 79.38 kB / 0.601 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.07559, allocations: 0.6479 MB / 0.6017 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.2049/0.2805, allocations: 2.052 MB / 0.6037 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.2833, allocations: 1.248 MB / 0.6049 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.2871, allocations: 3.477 MB / 0.6083 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.2885, allocations: 0.8318 MB / 0.6091 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.292, allocations: 1.722 MB / 0.6108 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.2932, allocations: 0.7941 MB / 0.6116 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2934, allocations: 102.2 kB / 0.6117 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.295, allocations: 0.7304 MB / 0.6124 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2952, allocations: 305.5 kB / 0.6127 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.2957, allocations: 429.8 kB / 0.6131 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.2983, allocations: 1.958 MB / 0.615 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2983, allocations: 1.922 kB / 0.615 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2983, allocations: 0 / 0.615 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.2984, allocations: 0 / 0.615 GB, free: 57.94 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.002431/0.3008, allocations: 1.467 MB / 0.6164 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3008, allocations: 10.75 kB / 0.6164 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/0.3013, allocations: 206.2 kB / 0.6166 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.3031, allocations: 1.125 MB / 0.6177 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.3031, allocations: 53.36 kB / 0.6178 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3032, allocations: 79.39 kB / 0.6179 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3047, allocations: 0.9427 MB / 0.6188 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.3047, allocations: 2.281 kB / 0.6188 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.3048, allocations: 29.34 kB / 0.6188 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.3048, allocations: 22.42 kB / 0.6188 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.306, allocations: 0.5716 MB / 0.6194 GB, free: 56.5 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.003743/0.3097, allocations: 2.64 MB / 0.622 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.3103, allocations: 239.3 kB / 0.6222 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.3106, allocations: 169.3 kB / 0.6224 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.3109, allocations: 61.78 kB / 0.6224 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3109, allocations: 41.77 kB / 0.6225 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.3109, allocations: 0.6875 kB / 0.6225 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.001224/0.3121, allocations: 0.5108 MB / 0.623 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3121, allocations: 59 kB / 0.623 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.3131, allocations: 0.8077 MB / 0.6238 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.3132, allocations: 34.2 kB / 0.6238 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.3135, allocations: 0.5143 MB / 0.6243 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.3136, allocations: 118 kB / 0.6244 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3137, allocations: 118.1 kB / 0.6246 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.3138, allocations: 326.7 kB / 0.6249 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3142, allocations: 164.5 kB / 0.625 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.3146, allocations: 0.4975 MB / 0.6255 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.3154, allocations: 0.513 MB / 0.626 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3154, allocations: 2.219 kB / 0.626 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0012/0.3166, allocations: 0.6282 MB / 0.6266 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3167, allocations: 11.72 kB / 0.6266 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3167, allocations: 4.766 kB / 0.6266 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.3167, allocations: 8.594 kB / 0.6267 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.3171, allocations: 126 kB / 0.6268 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3172, allocations: 12.86 kB / 0.6268 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.3178, allocations: 64.8 kB / 0.6268 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.3178, allocations: 33.03 kB / 0.6269 GB, free: 53.71 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.000354/0.3182, allocations: 271.9 kB / 0.6271 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.3183, allocations: 102.2 kB / 0.6272 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009858/0.3193, allocations: 490.9 kB / 0.6277 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3193, allocations: 4.453 kB / 0.6277 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3193, allocations: 0 / 0.6277 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007007/0.32, allocations: 459 kB / 0.6281 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.3221, allocations: 1.158 MB / 0.6293 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3221, allocations: 3.656 kB / 0.6293 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.3224, allocations: 78.3 kB / 0.6294 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.3224, allocations: 2.719 kB / 0.6294 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.3224, allocations: 10.8 kB / 0.6294 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3224, allocations: 2.219 kB / 0.6294 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3225, allocations: 6.719 kB / 0.6294 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3237, allocations: 0.7663 MB / 0.6301 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.324, allocations: 136.9 kB / 0.6303 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3241, allocations: 8.297 kB / 0.6303 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.3246, allocations: 33.66 kB / 0.6303 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.3247, allocations: 34.53 kB / 0.6303 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.3247, allocations: 21.02 kB / 0.6303 GB, free: 52.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007311/0.3255, allocations: 0.5512 MB / 0.6309 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3255, allocations: 1.156 kB / 0.6309 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001104/0.3266, allocations: 357.3 kB / 0.6312 GB, free: 51.75 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.0006393/0.3272, allocations: 378.5 kB / 0.6316 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000899/0.3281, allocations: 408.8 kB / 0.632 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3281, allocations: 1.375 kB / 0.632 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.3285, allocations: 180.4 kB / 0.6322 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.3306, allocations: 0.4911 MB / 0.6326 GB, free: 51.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3329, allocations: 1.552 MB / 0.6341 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.3334, allocations: 454.3 kB / 0.6346 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006573/0.334, allocations: 178.9 kB / 0.6348 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3342, allocations: 76.25 kB / 0.6348 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/0.3342, allocations: 0 / 0.6348 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.0283/0.3625, allocations: 18.74 MB / 0.6531 GB, free: 43.69 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.496721168980002]