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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 291 kB / 304.8 MB, free: 3.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 180.9 MB / 0.5281 GB, free: 1.941 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002793/0.002793, allocations: 103.8 kB / 0.7283 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4833, allocations: 94.15 MB / 0.8203 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05004/0.5333, allocations: 42.27 MB / 0.8616 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.5508, allocations: 10.44 MB / 0.8718 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.553, allocations: 59.62 kB / 0.8718 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.5552, allocations: 0.6716 MB / 0.8725 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.5609, allocations: 1.973 MB / 0.8744 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.5643, allocations: 1.217 MB / 0.8756 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005533/0.5698, allocations: 3.401 MB / 0.8789 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.5716, allocations: 0.8138 MB / 0.8797 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.575, allocations: 1.272 MB / 0.8809 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.5768, allocations: 0.9373 MB / 0.8819 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.5771, allocations: 104 kB / 0.882 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.5796, allocations: 0.885 MB / 0.8828 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.58, allocations: 290.8 kB / 0.8831 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009987/0.581, allocations: 0.626 MB / 0.8837 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.5841, allocations: 1.931 MB / 0.8856 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5841, allocations: 4 kB / 0.8856 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5841, allocations: 0 / 0.8856 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.5842, allocations: 0 / 0.8856 GB, free: 10.75 MB / 0.6231 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.002562/0.5867, allocations: 1.554 MB / 0.8871 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5868, allocations: 12.03 kB / 0.8871 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.5871, allocations: 144.1 kB / 0.8873 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.5889, allocations: 1.112 MB / 0.8884 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.589, allocations: 57.94 kB / 0.8884 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.5891, allocations: 75.98 kB / 0.8885 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5906, allocations: 0.7866 MB / 0.8892 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5906, allocations: 3.938 kB / 0.8893 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.5907, allocations: 32 kB / 0.8893 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.5907, allocations: 23.98 kB / 0.8893 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5918, allocations: 0.5672 MB / 0.8899 GB, free: 6.262 MB / 0.6231 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.004532/0.5964, allocations: 3.552 MB / 0.8933 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.597, allocations: 250.4 kB / 0.8936 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.5973, allocations: 167.6 kB / 0.8937 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.5979, allocations: 0.6609 MB / 0.8944 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.598, allocations: 46.55 kB / 0.8944 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.598, allocations: 0 / 0.8944 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001237/0.5992, allocations: 0.5168 MB / 0.8949 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5993, allocations: 55.41 kB / 0.895 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.6006, allocations: 0.9495 MB / 0.8959 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.6006, allocations: 37.7 kB / 0.8959 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.601, allocations: 0.4926 MB / 0.8964 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6012, allocations: 123 kB / 0.8965 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6013, allocations: 118.1 kB / 0.8966 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6015, allocations: 329.9 kB / 0.897 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.6018, allocations: 165 kB / 0.8971 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.6024, allocations: 354.9 kB / 0.8975 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.6033, allocations: 0.5069 MB / 0.898 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6033, allocations: 4 kB / 0.898 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001178/0.6044, allocations: 0.618 MB / 0.8986 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6045, allocations: 12.03 kB / 0.8986 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6045, allocations: 4 kB / 0.8986 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6045, allocations: 8 kB / 0.8986 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.6049, allocations: 123.8 kB / 0.8987 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.605, allocations: 15.92 kB / 0.8987 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.6055, allocations: 87.44 kB / 0.8988 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.6055, allocations: 24 kB / 0.8988 GB, free: 12.47 MB / 0.6387 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.0003769/0.6059, allocations: 281.5 kB / 0.8991 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6061, allocations: 103.3 kB / 0.8992 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6071, allocations: 484.2 kB / 0.8997 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6071, allocations: 8 kB / 0.8997 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6071, allocations: 4 kB / 0.8997 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007721/0.6079, allocations: 457.5 kB / 0.9001 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.61, allocations: 1.355 MB / 0.9014 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.61, allocations: 4 kB / 0.9014 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.6104, allocations: 75.89 kB / 0.9015 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.6104, allocations: 7.922 kB / 0.9015 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.6104, allocations: 8 kB / 0.9015 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6104, allocations: 8.094 kB / 0.9015 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6104, allocations: 8 kB / 0.9015 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.6118, allocations: 0.7602 MB / 0.9023 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.6121, allocations: 236.2 kB / 0.9025 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6122, allocations: 15.94 kB / 0.9025 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.6127, allocations: 39.89 kB / 0.9026 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.6128, allocations: 28.03 kB / 0.9026 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6128, allocations: 15.98 kB / 0.9026 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008911/0.6137, allocations: 0.6588 MB / 0.9032 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6137, allocations: 0 / 0.9032 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009308/0.6146, allocations: 343.3 kB / 0.9036 GB, free: 7.445 MB / 0.6387 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.0008023/0.6154, allocations: 396.6 kB / 0.9039 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.6163, allocations: 400.6 kB / 0.9043 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6163, allocations: 3.938 kB / 0.9043 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.6167, allocations: 176.3 kB / 0.9045 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.6191, allocations: 0.6162 MB / 0.9051 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.6217, allocations: 1.634 MB / 0.9067 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.6224, allocations: 1.036 MB / 0.9077 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005771/0.6229, allocations: 203.1 kB / 0.9079 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6231, allocations: 79.42 kB / 0.908 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.6231, allocations: 0 / 0.908 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of Templates: time 0.03927/0.6624, allocations: 21.68 MB / 0.9291 GB, free: 13.5 MB / 0.67 GB " [Timeout remaining time 659] 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: 7.244648043066263]