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.002374/0.002374, allocations: 85.48 kB / 19.44 MB, free: 344 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.002896/0.002896, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.005078/0.005078, allocations: 233.1 kB / 259.8 MB, free: 12.86 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.201/1.201, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.482e-06/1.482e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.74e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05804/0.05807, allocations: 42.98 MB / 0.5963 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.2351/0.2932, allocations: 10.64 MB / 0.6067 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2948, allocations: 79.53 kB / 0.6068 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2962, allocations: 0.6443 MB / 0.6074 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.3006, allocations: 2.066 MB / 0.6094 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.3031, allocations: 1.245 MB / 0.6106 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.3066, allocations: 3.479 MB / 0.614 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.3077, allocations: 0.8396 MB / 0.6149 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.3111, allocations: 1.721 MB / 0.6165 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3125, allocations: 0.8197 MB / 0.6173 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.3126, allocations: 99.62 kB / 0.6174 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.3144, allocations: 0.7216 MB / 0.6181 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.3148, allocations: 313.2 kB / 0.6184 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.3154, allocations: 436.6 kB / 0.6188 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.3189, allocations: 1.967 MB / 0.6208 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3189, allocations: 0 / 0.6208 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3189, allocations: 0 / 0.6208 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.282e-05/0.3189, allocations: 6.688 kB / 0.6208 GB, free: 57.98 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.003074/0.322, allocations: 1.669 MB / 0.6224 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.322, allocations: 10.25 kB / 0.6224 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/0.3226, allocations: 202.2 kB / 0.6226 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.3246, allocations: 1.072 MB / 0.6237 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.3246, allocations: 55.72 kB / 0.6237 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3247, allocations: 74.47 kB / 0.6238 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.3262, allocations: 0.9788 MB / 0.6247 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.3262, allocations: 4 kB / 0.6247 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.3263, allocations: 25.84 kB / 0.6248 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.3263, allocations: 24.88 kB / 0.6248 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.3273, allocations: 0.4928 MB / 0.6253 GB, free: 56.35 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.00457/0.3319, allocations: 3.632 MB / 0.6288 GB, free: 54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.3324, allocations: 228.8 kB / 0.629 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.3327, allocations: 133.4 kB / 0.6292 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.3329, allocations: 64.64 kB / 0.6292 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.333, allocations: 42 kB / 0.6293 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.217e-06/0.333, allocations: 0.6094 kB / 0.6293 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.001104/0.3341, allocations: 432.1 kB / 0.6297 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3341, allocations: 55.27 kB / 0.6297 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.3354, allocations: 1.027 MB / 0.6307 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.3355, allocations: 32.27 kB / 0.6308 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.3359, allocations: 0.6147 MB / 0.6314 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.336, allocations: 131.5 kB / 0.6315 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.3362, allocations: 143 kB / 0.6316 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3363, allocations: 0.5157 MB / 0.6321 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.3366, allocations: 119.6 kB / 0.6322 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.337, allocations: 0.5472 MB / 0.6328 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.3376, allocations: 0.5121 MB / 0.6333 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3376, allocations: 2.438 kB / 0.6333 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001008/0.3386, allocations: 0.5516 MB / 0.6338 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3387, allocations: 8.672 kB / 0.6338 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3387, allocations: 4.844 kB / 0.6338 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3387, allocations: 7.625 kB / 0.6338 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.3391, allocations: 120.9 kB / 0.634 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3391, allocations: 13.48 kB / 0.634 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.3397, allocations: 62.23 kB / 0.634 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.3397, allocations: 30.11 kB / 0.6341 GB, free: 50.67 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.0003629/0.3401, allocations: 302.7 kB / 0.6343 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3403, allocations: 107.5 kB / 0.6344 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008048/0.3411, allocations: 392.1 kB / 0.6348 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3411, allocations: 4.75 kB / 0.6348 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3411, allocations: 0 / 0.6348 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005218/0.3416, allocations: 375.4 kB / 0.6352 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.3437, allocations: 1.352 MB / 0.6365 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3437, allocations: 1.344 kB / 0.6365 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.344, allocations: 69.12 kB / 0.6366 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.344, allocations: 2.719 kB / 0.6366 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.3441, allocations: 9.625 kB / 0.6366 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3441, allocations: 6.531 kB / 0.6366 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3441, allocations: 6 kB / 0.6366 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.345, allocations: 0.6947 MB / 0.6373 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.3454, allocations: 135.8 kB / 0.6374 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3455, allocations: 10.84 kB / 0.6374 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.3459, allocations: 23.62 kB / 0.6374 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.346, allocations: 33.7 kB / 0.6375 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.346, allocations: 20.58 kB / 0.6375 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000704/0.3467, allocations: 0.6157 MB / 0.6381 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3467, allocations: 1.031 kB / 0.6381 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00117/0.3479, allocations: 360.1 kB / 0.6384 GB, free: 48.32 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.0006452/0.3485, allocations: 384.7 kB / 0.6388 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.3493, allocations: 372.8 kB / 0.6392 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3493, allocations: 1.031 kB / 0.6392 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.3496, allocations: 158.7 kB / 0.6393 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.3518, allocations: 497.1 kB / 0.6398 GB, free: 47.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.354, allocations: 1.526 MB / 0.6413 GB, free: 47.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.3544, allocations: 446 kB / 0.6417 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005735/0.3549, allocations: 168.9 kB / 0.6419 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3551, allocations: 71.16 kB / 0.6419 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.3551, allocations: 0 / 0.6419 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.02695/0.382, allocations: 18.83 MB / 0.6603 GB, free: 39.15 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: 6.819877504021861]