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.001042/0.001042, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001068/0.001068, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9152/0.9152, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001433/0.001433, allocations: 240.7 kB / 260.2 MB, free: 13.02 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.6882/0.6882, allocations: 138.4 MB / 455.1 MB, free: 30 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.413e-06/1.413e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.02e-05, allocations: 14.16 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2895/0.2896, allocations: 38.08 MB / 0.6847 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3002, allocations: 9.655 MB / 0.6941 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.303, allocations: 79.22 kB / 0.6942 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.3059, allocations: 0.6479 MB / 0.6949 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007764/0.3137, allocations: 2.059 MB / 0.6969 GB, free: 24.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.3177, allocations: 1.256 MB / 0.6981 GB, free: 23.81 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006652/0.3243, allocations: 3.483 MB / 0.7015 GB, free: 22.09 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.3264, allocations: 0.8076 MB / 0.7023 GB, free: 21.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005817/0.3323, allocations: 1.709 MB / 0.704 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.3345, allocations: 0.8007 MB / 0.7047 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.3347, allocations: 100.9 kB / 0.7048 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.3367, allocations: 0.7228 MB / 0.7055 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.337, allocations: 304.9 kB / 0.7058 GB, free: 20.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.3378, allocations: 434.5 kB / 0.7062 GB, free: 19.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.3411, allocations: 1.961 MB / 0.7082 GB, free: 19.28 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3411, allocations: 5.938 kB / 0.7082 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3411, allocations: 0 / 0.7082 GB, free: 19.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.572e-05/0.3412, allocations: 0 / 0.7082 GB, free: 19.27 MB / 0.5573 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.002331/0.3435, allocations: 1.462 MB / 0.7096 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3436, allocations: 16.09 kB / 0.7096 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.3439, allocations: 138.6 kB / 0.7097 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.3452, allocations: 1.044 MB / 0.7108 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3453, allocations: 55.12 kB / 0.7108 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.3454, allocations: 76.5 kB / 0.7109 GB, free: 17.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.3463, allocations: 0.9447 MB / 0.7118 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.3463, allocations: 5.422 kB / 0.7118 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.3464, allocations: 26.31 kB / 0.7118 GB, free: 16.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.3464, allocations: 22.88 kB / 0.7119 GB, free: 16.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.3471, allocations: 0.5675 MB / 0.7124 GB, free: 16.39 MB / 0.5573 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.002417/0.3496, allocations: 2.602 MB / 0.715 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.35, allocations: 246.9 kB / 0.7152 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3502, allocations: 164 kB / 0.7153 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.3504, allocations: 66.52 kB / 0.7154 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3504, allocations: 37.55 kB / 0.7154 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.3504, allocations: 0 / 0.7154 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.0007963/0.3512, allocations: 0.5067 MB / 0.7159 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3512, allocations: 55.38 kB / 0.716 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.3519, allocations: 0.8091 MB / 0.7168 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.352, allocations: 36.52 kB / 0.7168 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3522, allocations: 0.5046 MB / 0.7173 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.3522, allocations: 115.3 kB / 0.7174 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3524, allocations: 118.4 kB / 0.7175 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.3524, allocations: 324.6 kB / 0.7178 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3526, allocations: 162.9 kB / 0.718 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.3529, allocations: 0.5031 MB / 0.7185 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.3534, allocations: 0.5134 MB / 0.719 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3534, allocations: 1.344 kB / 0.719 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007172/0.3541, allocations: 0.614 MB / 0.7196 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3542, allocations: 7.594 kB / 0.7196 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3542, allocations: 5.312 kB / 0.7196 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3542, allocations: 8.594 kB / 0.7196 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3545, allocations: 126.5 kB / 0.7197 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3545, allocations: 11.22 kB / 0.7197 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.3549, allocations: 69.95 kB / 0.7198 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.3549, allocations: 28.48 kB / 0.7198 GB, free: 10.89 MB / 0.5573 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.0002823/0.3552, allocations: 276.3 kB / 0.7201 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.3553, allocations: 94.59 kB / 0.7202 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.3559, allocations: 493.3 kB / 0.7207 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3559, allocations: 3.438 kB / 0.7207 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3559, allocations: 1.094 kB / 0.7207 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004189/0.3563, allocations: 453.9 kB / 0.7211 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3577, allocations: 1.163 MB / 0.7222 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3577, allocations: 1.25 kB / 0.7222 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.3579, allocations: 80.09 kB / 0.7223 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3579, allocations: 3.656 kB / 0.7223 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3579, allocations: 8.375 kB / 0.7223 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.3579, allocations: 6.531 kB / 0.7223 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3579, allocations: 1.344 kB / 0.7223 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.3588, allocations: 0.7648 MB / 0.7231 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.359, allocations: 127.1 kB / 0.7232 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.3591, allocations: 19.36 kB / 0.7232 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.3593, allocations: 35.61 kB / 0.7233 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.3594, allocations: 30.02 kB / 0.7233 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3594, allocations: 21.45 kB / 0.7233 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005007/0.3599, allocations: 0.544 MB / 0.7238 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 0 / 0.7238 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001005/0.3609, allocations: 359.8 kB / 0.7242 GB, free: 8.172 MB / 0.5573 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.0005357/0.3614, allocations: 382.2 kB / 0.7245 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.362, allocations: 407.8 kB / 0.7249 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.362, allocations: 1.25 kB / 0.7249 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3622, allocations: 183.7 kB / 0.7251 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3635, allocations: 479.7 kB / 0.7256 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3655, allocations: 1.564 MB / 0.7271 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3658, allocations: 447.2 kB / 0.7275 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.366, allocations: 75.86 kB / 0.7276 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of SimCode: time 1.402e-06/0.366, allocations: 0 / 0.7276 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of Templates: time 0.02445/0.3905, allocations: 17 MB / 0.7442 GB, free: 7.664 MB / 0.573 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.801046664826572] Failed to read output from testmodel.py, exit status != 0: 0.3981412872672081 0.40892593899999996 0.06558960700000001 Calling exit ...