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.0009466/0.0009466, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001405/0.001405, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9583/0.9583, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.002518/0.002518, allocations: 250.7 kB / 260.5 MB, free: 12.69 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.6959/0.6959, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.342e-06/1.342e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.999e-05, allocations: 3.703 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01007/0.01009, allocations: 13.05 MB / 475.4 MB, free: 5.562 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008437/0.01852, allocations: 5.487 MB / 480.9 MB, free: 124 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.01971, allocations: 79.31 kB / 480.9 MB, free: 44 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.02045, allocations: 366.1 kB / 481.3 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.02242, allocations: 1.35 MB / 482.6 MB, free: 14.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.02396, allocations: 1.11 MB / 483.8 MB, free: 13.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.02651, allocations: 3.37 MB / 487.1 MB, free: 9.855 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.02731, allocations: 0.8479 MB / 488 MB, free: 8.988 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.02904, allocations: 1.611 MB / 489.6 MB, free: 7.398 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.02972, allocations: 0.767 MB / 490.3 MB, free: 6.629 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.02981, allocations: 98.19 kB / 490.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.03025, allocations: 287.5 kB / 490.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.03044, allocations: 294.8 kB / 491 MB, free: 5.965 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.03076, allocations: 435 kB / 491.4 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009412/0.0317, allocations: 1.047 MB / 492.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.0317, allocations: 0.625 kB / 492.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03171, allocations: 0 / 492.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.03171, allocations: 0.625 kB / 492.5 MB, free: 4.488 MB / 442.7 MB 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.001263/0.03298, allocations: 1.348 MB / 493.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.03301, allocations: 9.531 kB / 493.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.03324, allocations: 172.1 kB / 494 MB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.03409, allocations: 0.7236 MB / 494.7 MB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.03412, allocations: 59.5 kB / 494.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.0342, allocations: 75.89 kB / 494.9 MB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.03479, allocations: 0.6989 MB / 495.6 MB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.03481, allocations: 4 kB / 495.6 MB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.03485, allocations: 28.94 kB / 495.6 MB, free: 1.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.03488, allocations: 20 kB / 495.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.03513, allocations: 204.3 kB / 495.8 MB, free: 1.035 MB / 442.7 MB 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.001955/0.03709, allocations: 2.154 MB / 498 MB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.03731, allocations: 174.9 kB / 498.1 MB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.03738, allocations: 71.58 kB / 498.2 MB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.751e-05/0.03746, allocations: 23.98 kB / 498.2 MB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.03749, allocations: 35.38 kB / 498.3 MB, free: 14.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.03749, allocations: 5.719 kB / 498.3 MB, free: 14.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002724/0.03776, allocations: 194.1 kB / 498.5 MB, free: 14.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.03779, allocations: 63.33 kB / 498.5 MB, free: 14.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.03822, allocations: 0.6691 MB / 499.2 MB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.03838, allocations: 39.08 kB / 499.2 MB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.03856, allocations: 409.8 kB / 499.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.03862, allocations: 119 kB / 499.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.03872, allocations: 114.2 kB / 499.9 MB, free: 12.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.03879, allocations: 330.4 kB / 0.4885 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.03889, allocations: 64.86 kB / 0.4885 GB, free: 12.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.0391, allocations: 390.2 kB / 0.4889 GB, free: 11.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.03938, allocations: 330.3 kB / 0.4892 GB, free: 11.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03938, allocations: 0 / 0.4892 GB, free: 11.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003558/0.03974, allocations: 358 kB / 0.4896 GB, free: 11.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.03975, allocations: 8 kB / 0.4896 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.03976, allocations: 8 kB / 0.4896 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.03978, allocations: 8 kB / 0.4896 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.03999, allocations: 116.6 kB / 0.4897 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.04, allocations: 9.281 kB / 0.4897 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.0402, allocations: 59.56 kB / 0.4898 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.04023, allocations: 24.8 kB / 0.4898 GB, free: 11.01 MB / 458.7 MB 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.0001327/0.04037, allocations: 145.8 kB / 0.4899 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.04043, allocations: 67.86 kB / 0.49 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.04072, allocations: 246.8 kB / 0.4902 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.04072, allocations: 5.219 kB / 0.4902 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.04072, allocations: 0 / 0.4902 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001436/0.04087, allocations: 229.8 kB / 0.4904 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.04185, allocations: 0.7787 MB / 0.4912 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.04185, allocations: 1.375 kB / 0.4912 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.04201, allocations: 69.5 kB / 0.4913 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.04201, allocations: 4.75 kB / 0.4913 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.04203, allocations: 11.98 kB / 0.4913 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.04203, allocations: 4.594 kB / 0.4913 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.04203, allocations: 5.406 kB / 0.4913 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.04236, allocations: 433.5 kB / 0.4917 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.04249, allocations: 107.3 kB / 0.4918 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.04255, allocations: 9.375 kB / 0.4918 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.04273, allocations: 31.91 kB / 0.4918 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.04277, allocations: 32.33 kB / 0.4919 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.04279, allocations: 17.14 kB / 0.4919 GB, free: 8.738 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.04302, allocations: 327.3 kB / 0.4922 GB, free: 8.422 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04302, allocations: 0 / 0.4922 GB, free: 8.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.04346, allocations: 280.1 kB / 0.4925 GB, free: 8.148 MB / 458.7 MB 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.0002416/0.0437, allocations: 169.6 kB / 0.4926 GB, free: 7.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.04395, allocations: 212.5 kB / 0.4928 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.04397, allocations: 8.625 kB / 0.4928 GB, free: 7.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.04406, allocations: 93.83 kB / 0.4929 GB, free: 7.676 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.04507, allocations: 486.9 kB / 0.4934 GB, free: 7.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.04661, allocations: 1.425 MB / 0.4948 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.04676, allocations: 183.2 kB / 0.495 GB, free: 5.605 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.04716, allocations: 148.1 kB / 0.4951 GB, free: 5.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/0.04788, allocations: 361.6 kB / 0.4955 GB, free: 5.133 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04788, allocations: 1.406 kB / 0.4955 GB, free: 5.133 MB / 458.7 MB Notification: Performance of Templates: time 0.02461/0.0725, allocations: 17.56 MB / 0.5126 GB, free: 4.332 MB / 474.7 MB " [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: 3.9403795581310987]