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.0009747/0.0009747, allocations: 89.06 kB / 19.65 MB, free: 268 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.0009571/0.0009571, allocations: 169 kB / 23.02 MB, free: 1.535 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.9557/0.9557, allocations: 177.1 MB / 203.4 MB, free: 5.152 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.001649/0.001649, allocations: 242 kB / 260.2 MB, free: 12.68 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.7359/0.7359, allocations: 138.4 MB / 455.2 MB, free: 29.78 MB / 410.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.893e-06/1.893e-06, allocations: 3.938 kB / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.109e-05, allocations: 2.312 kB / 0.5551 GB, free: 108 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009965/0.009986, allocations: 13.2 MB / 0.568 GB, free: 2.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.01746, allocations: 5.382 MB / 0.5732 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.0184, allocations: 83.31 kB / 0.5733 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.01909, allocations: 357.3 kB / 0.5737 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.02107, allocations: 1.352 MB / 0.575 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.02262, allocations: 1.111 MB / 0.5761 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.0252, allocations: 3.371 MB / 0.5794 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.02613, allocations: 0.8343 MB / 0.5802 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.02783, allocations: 1.489 MB / 0.5816 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009856/0.02881, allocations: 0.8177 MB / 0.5824 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.02895, allocations: 100 kB / 0.5825 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.02951, allocations: 307.5 kB / 0.5828 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.02971, allocations: 314.7 kB / 0.5831 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.03006, allocations: 435 kB / 0.5835 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.03114, allocations: 1.071 MB / 0.5846 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.03114, allocations: 0 / 0.5846 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03114, allocations: 0 / 0.5846 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.03115, allocations: 3.938 kB / 0.5846 GB, free: 1.805 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.001626/0.03278, allocations: 1.511 MB / 0.5861 GB, free: 256 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.03282, allocations: 9.938 kB / 0.5861 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.03312, allocations: 204 kB / 0.5863 GB, free: 44 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.03424, allocations: 1.073 MB / 0.5873 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.03428, allocations: 58.38 kB / 0.5874 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.03436, allocations: 71.94 kB / 0.5874 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.0351, allocations: 0.7441 MB / 0.5882 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.03512, allocations: 4 kB / 0.5882 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.03517, allocations: 24 kB / 0.5882 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.03521, allocations: 27.94 kB / 0.5882 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.03564, allocations: 243.6 kB / 0.5884 GB, free: 13.69 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.002254/0.03789, allocations: 2.935 MB / 0.5913 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.03816, allocations: 154.7 kB / 0.5915 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.03826, allocations: 77.84 kB / 0.5915 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.03838, allocations: 31.97 kB / 0.5916 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.03841, allocations: 41.33 kB / 0.5916 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.03841, allocations: 0 / 0.5916 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.0004345/0.03884, allocations: 297.6 kB / 0.5919 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.03887, allocations: 55.41 kB / 0.5919 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.03946, allocations: 0.7492 MB / 0.5927 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.03949, allocations: 37.7 kB / 0.5927 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.03977, allocations: 0.5651 MB / 0.5933 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.03984, allocations: 119 kB / 0.5934 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.03995, allocations: 119.9 kB / 0.5935 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.04007, allocations: 0.5004 MB / 0.594 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.04017, allocations: 61.2 kB / 0.594 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.04043, allocations: 477.9 kB / 0.5945 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.04076, allocations: 388.4 kB / 0.5949 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.04077, allocations: 4 kB / 0.5949 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004824/0.04125, allocations: 452.5 kB / 0.5953 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.04127, allocations: 4 kB / 0.5953 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.04128, allocations: 8 kB / 0.5953 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.0413, allocations: 8 kB / 0.5953 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.04154, allocations: 123.8 kB / 0.5954 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.04155, allocations: 8.5 kB / 0.5954 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.04183, allocations: 55.66 kB / 0.5955 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.04188, allocations: 28 kB / 0.5955 GB, free: 6.008 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.0001982/0.04208, allocations: 188.4 kB / 0.5957 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.04218, allocations: 111.3 kB / 0.5958 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.04257, allocations: 302.4 kB / 0.5961 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.04258, allocations: 4 kB / 0.5961 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.04258, allocations: 3.984 kB / 0.5961 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002284/0.04281, allocations: 277.6 kB / 0.5964 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.04383, allocations: 1.048 MB / 0.5974 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.04383, allocations: 4 kB / 0.5974 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.04401, allocations: 67.89 kB / 0.5975 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.04401, allocations: 4 kB / 0.5975 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.04403, allocations: 8 kB / 0.5975 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.04403, allocations: 64 / 0.5975 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.04403, allocations: 8 kB / 0.5975 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.04452, allocations: 0.546 MB / 0.598 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.04468, allocations: 139.3 kB / 0.5981 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.04473, allocations: 8 kB / 0.5981 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.04493, allocations: 19.98 kB / 0.5982 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.04498, allocations: 31.89 kB / 0.5982 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.04501, allocations: 19.98 kB / 0.5982 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003855/0.04539, allocations: 478.9 kB / 0.5987 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04539, allocations: 0 / 0.5987 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004768/0.04587, allocations: 283.3 kB / 0.5989 GB, free: 2.355 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.0002716/0.04614, allocations: 194.9 kB / 0.5991 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.04648, allocations: 248.6 kB / 0.5994 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04648, allocations: 0 / 0.5994 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.04661, allocations: 105.5 kB / 0.5995 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.04771, allocations: 497.6 kB / 0.5999 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.04958, allocations: 1.454 MB / 0.6014 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.04972, allocations: 199.1 kB / 0.6016 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.05006, allocations: 158.3 kB / 0.6017 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.05016, allocations: 76.47 kB / 0.6018 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.05016, allocations: 4 kB / 0.6018 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.01788/0.06804, allocations: 16.23 MB / 0.6176 GB, free: 15.59 MB / 0.5417 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.082811456173658]