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.001312/0.001312, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001402/0.001402, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9737/0.9737, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001656/0.001656, allocations: 249.1 kB / 260.5 MB, free: 12.67 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.7222/0.7222, allocations: 138.4 MB / 455.5 MB, free: 1.426 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 2.514e-06/2.514e-06, allocations: 4 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.077e-05, allocations: 2.312 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009985/0.01001, allocations: 13.02 MB / 0.5683 GB, free: 3.172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007362/0.01737, allocations: 5.354 MB / 0.5736 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.01813, allocations: 79.31 kB / 0.5736 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.01879, allocations: 365.2 kB / 0.574 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.02063, allocations: 1.348 MB / 0.5753 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.02202, allocations: 1.107 MB / 0.5764 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.02476, allocations: 3.382 MB / 0.5797 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007806/0.02554, allocations: 0.8382 MB / 0.5805 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.02722, allocations: 1.604 MB / 0.5821 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007148/0.02794, allocations: 0.8138 MB / 0.5829 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.02804, allocations: 100 kB / 0.583 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.02854, allocations: 287.5 kB / 0.5832 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.02873, allocations: 298.8 kB / 0.5835 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.02931, allocations: 431 kB / 0.5839 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009575/0.03027, allocations: 1.047 MB / 0.5849 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.03027, allocations: 0 / 0.5849 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.03027, allocations: 4 kB / 0.5849 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.03028, allocations: 0 / 0.5849 GB, free: 2.094 MB / 0.4948 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.001356/0.03164, allocations: 1.491 MB / 0.5864 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.03167, allocations: 8.75 kB / 0.5864 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.03192, allocations: 204 kB / 0.5866 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.03279, allocations: 0.949 MB / 0.5875 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.03282, allocations: 50.38 kB / 0.5876 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.03289, allocations: 83.92 kB / 0.5877 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.03353, allocations: 0.701 MB / 0.5883 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.03355, allocations: 0 / 0.5883 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.03359, allocations: 32 kB / 0.5884 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.03362, allocations: 20 kB / 0.5884 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.03388, allocations: 210.1 kB / 0.5886 GB, free: 14.19 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.002121/0.036, allocations: 2.95 MB / 0.5915 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.0362, allocations: 122.9 kB / 0.5916 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.03627, allocations: 71.62 kB / 0.5917 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.03637, allocations: 41.55 kB / 0.5917 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.03639, allocations: 41.92 kB / 0.5917 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.432e-06/0.03639, allocations: 0 / 0.5917 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0003272/0.03672, allocations: 277 kB / 0.592 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.03674, allocations: 51.41 kB / 0.5921 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.03728, allocations: 0.7292 MB / 0.5928 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.0373, allocations: 33.7 kB / 0.5928 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.03756, allocations: 0.5611 MB / 0.5933 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.03763, allocations: 123 kB / 0.5935 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.03773, allocations: 127.9 kB / 0.5936 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.03797, allocations: 0.5004 MB / 0.5941 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.03806, allocations: 57.27 kB / 0.5941 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.03829, allocations: 472.7 kB / 0.5946 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.03857, allocations: 380.4 kB / 0.5949 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03857, allocations: 0 / 0.5949 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004076/0.03898, allocations: 432.9 kB / 0.5954 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.03899, allocations: 8 kB / 0.5954 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.039, allocations: 4 kB / 0.5954 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.03902, allocations: 8 kB / 0.5954 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.03923, allocations: 115.8 kB / 0.5955 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.03923, allocations: 15.92 kB / 0.5955 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.03944, allocations: 51.62 kB / 0.5955 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.03946, allocations: 27.98 kB / 0.5956 GB, free: 6.609 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.0001421/0.03961, allocations: 192.5 kB / 0.5958 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.03969, allocations: 103.4 kB / 0.5959 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.04004, allocations: 287.5 kB / 0.5961 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.04005, allocations: 4 kB / 0.5961 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.04005, allocations: 3.938 kB / 0.5961 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001733/0.04022, allocations: 261.4 kB / 0.5964 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.04125, allocations: 0.8956 MB / 0.5973 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.04126, allocations: 4.156 kB / 0.5973 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.04141, allocations: 75.89 kB / 0.5973 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.04142, allocations: 0 / 0.5973 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.04143, allocations: 8 kB / 0.5973 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.04143, allocations: 4 kB / 0.5974 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.04143, allocations: 0 / 0.5974 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.04181, allocations: 0.5109 MB / 0.5979 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.04197, allocations: 127.3 kB / 0.598 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.04201, allocations: 8.062 kB / 0.598 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.0422, allocations: 35.97 kB / 0.598 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.04224, allocations: 27.89 kB / 0.598 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.04226, allocations: 15.98 kB / 0.5981 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002518/0.04252, allocations: 438.8 kB / 0.5985 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.04252, allocations: 4 kB / 0.5985 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004326/0.04295, allocations: 279.3 kB / 0.5987 GB, free: 3.23 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.0002281/0.04318, allocations: 187 kB / 0.5989 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.04344, allocations: 233.8 kB / 0.5991 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.04345, allocations: 0 / 0.5991 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.04355, allocations: 107.4 kB / 0.5992 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.04459, allocations: 492.3 kB / 0.5997 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.04608, allocations: 1.453 MB / 0.6011 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.04621, allocations: 199.1 kB / 0.6013 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.04649, allocations: 142.1 kB / 0.6015 GB, free: 368 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1807/0.2272, allocations: 428.3 kB / 0.6019 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.883e-06/0.2272, allocations: 0.5469 kB / 0.6019 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.02632/0.2535, allocations: 17.66 MB / 0.6191 GB, free: 80.25 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.244110077153891]