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.0009952/0.0009952, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009654/0.0009654, allocations: 177 kB / 23.36 MB, free: 1.133 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.9882/0.9882, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001751/0.001751, allocations: 248.9 kB / 260.5 MB, free: 12.71 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.7227/0.7227, allocations: 138.4 MB / 402.2 MB, free: 0 / 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.132e-06/1.132e-06, allocations: 0 / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.109e-05, allocations: 4.266 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01054/0.01055, allocations: 13.1 MB / 475.5 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.018, allocations: 5.484 MB / 480.9 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.01871, allocations: 79.31 kB / 481 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.01932, allocations: 357.3 kB / 481.4 MB, free: 15.51 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.02104, allocations: 1.353 MB / 482.7 MB, free: 14.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.02247, allocations: 1.101 MB / 483.8 MB, free: 13.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.02478, allocations: 3.373 MB / 487.2 MB, free: 9.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009592/0.02573, allocations: 0.8594 MB / 488.1 MB, free: 8.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.02703, allocations: 1.583 MB / 489.6 MB, free: 7.262 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.02768, allocations: 0.7652 MB / 490.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.791e-05/0.02778, allocations: 100 kB / 490.5 MB, free: 6.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.02817, allocations: 287.5 kB / 490.8 MB, free: 6.117 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.02837, allocations: 305.8 kB / 491.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.02867, allocations: 434.9 kB / 491.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.02957, allocations: 1.043 MB / 492.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.02958, allocations: 0 / 492.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.02958, allocations: 0 / 492.5 MB, free: 4.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.02958, allocations: 0 / 492.5 MB, free: 4.348 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.00119/0.03077, allocations: 1.347 MB / 493.9 MB, free: 2.977 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.0308, allocations: 9.406 kB / 493.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.03105, allocations: 165.8 kB / 494.1 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.03188, allocations: 0.7296 MB / 494.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.03191, allocations: 54.38 kB / 494.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.03198, allocations: 90.78 kB / 494.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.03259, allocations: 0.6906 MB / 495.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.03261, allocations: 0 / 495.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.03265, allocations: 29.38 kB / 495.7 MB, free: 1.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.03267, allocations: 20 kB / 495.7 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.03292, allocations: 206.5 kB / 495.9 MB, free: 0.8945 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.002261/0.03518, allocations: 2.161 MB / 498 MB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.03543, allocations: 166.1 kB / 498.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.03552, allocations: 67.59 kB / 498.3 MB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.03562, allocations: 29.27 kB / 498.3 MB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.03564, allocations: 39.19 kB / 498.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.03564, allocations: 0.625 kB / 498.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003395/0.03598, allocations: 198.1 kB / 498.5 MB, free: 14.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.03601, allocations: 60.31 kB / 498.6 MB, free: 14.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.0366, allocations: 0.6769 MB / 499.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.03663, allocations: 30.27 kB / 499.3 MB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.03685, allocations: 413.8 kB / 499.7 MB, free: 12.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.03693, allocations: 115.9 kB / 499.8 MB, free: 12.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.03706, allocations: 114.2 kB / 499.9 MB, free: 12.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.03714, allocations: 328 kB / 0.4885 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.03727, allocations: 68.11 kB / 0.4886 GB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.03753, allocations: 394.1 kB / 0.489 GB, free: 11.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.03812, allocations: 325.1 kB / 0.4893 GB, free: 11.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.03813, allocations: 5.5 kB / 0.4893 GB, free: 11.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004764/0.0386, allocations: 357.4 kB / 0.4896 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.03862, allocations: 8 kB / 0.4896 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.03862, allocations: 7.938 kB / 0.4896 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.03864, allocations: 8 kB / 0.4896 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.03896, allocations: 124.5 kB / 0.4898 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.03897, allocations: 8 kB / 0.4898 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.03926, allocations: 68.45 kB / 0.4898 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.0393, allocations: 26.7 kB / 0.4899 GB, free: 10.85 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.0001524/0.03945, allocations: 140.5 kB / 0.49 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.03954, allocations: 64.94 kB / 0.4901 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.0399, allocations: 253.1 kB / 0.4903 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.0399, allocations: 4.625 kB / 0.4903 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0399, allocations: 0.75 kB / 0.4903 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001907/0.04009, allocations: 225.8 kB / 0.4905 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.04102, allocations: 0.77 MB / 0.4913 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.04103, allocations: 0.7812 kB / 0.4913 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.04127, allocations: 80.97 kB / 0.4913 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.04127, allocations: 0 / 0.4913 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.04129, allocations: 8 kB / 0.4914 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.04129, allocations: 4.625 kB / 0.4914 GB, free: 9.242 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.0413, allocations: 5.25 kB / 0.4914 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.0417, allocations: 440.4 kB / 0.4918 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.04188, allocations: 115.3 kB / 0.4919 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.04195, allocations: 4 kB / 0.4919 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.04221, allocations: 24.58 kB / 0.4919 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.04227, allocations: 32.58 kB / 0.4919 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.04229, allocations: 15.98 kB / 0.492 GB, free: 8.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.04261, allocations: 327.8 kB / 0.4923 GB, free: 8.273 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04261, allocations: 0 / 0.4923 GB, free: 8.273 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005743/0.04318, allocations: 284.1 kB / 0.4925 GB, free: 7.996 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.0002465/0.04343, allocations: 168.8 kB / 0.4927 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.04374, allocations: 212.8 kB / 0.4929 GB, free: 7.625 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.04376, allocations: 16.62 kB / 0.4929 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.04388, allocations: 86.2 kB / 0.493 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.04519, allocations: 496.6 kB / 0.4935 GB, free: 7.105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.04703, allocations: 1.433 MB / 0.4949 GB, free: 5.641 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.04718, allocations: 183.7 kB / 0.4951 GB, free: 5.441 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.04755, allocations: 139.6 kB / 0.4952 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/0.04827, allocations: 357.8 kB / 0.4955 GB, free: 4.977 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.04827, allocations: 0 / 0.4955 GB, free: 4.977 MB / 458.7 MB Notification: Performance of Templates: time 0.02401/0.07229, allocations: 17.56 MB / 0.5127 GB, free: 4.152 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.984115689061582]