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.001293/0.001293, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001608/0.001608, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.002505/0.002505, allocations: 234.8 kB / 259.4 MB, free: 452 kB / 238.1 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 1.079/1.079, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 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.242e-06/1.242e-06, allocations: 0 / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.531e-05, allocations: 10.22 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2893/0.2893, allocations: 38.08 MB / 0.684 GB, free: 33.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3028, allocations: 9.663 MB / 0.6934 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.3051, allocations: 78.53 kB / 0.6935 GB, free: 27.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.3069, allocations: 0.6476 MB / 0.6941 GB, free: 26.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.3126, allocations: 2.058 MB / 0.6962 GB, free: 25.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.3161, allocations: 1.259 MB / 0.6974 GB, free: 24.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005126/0.3212, allocations: 3.475 MB / 0.7008 GB, free: 23.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.3226, allocations: 0.8159 MB / 0.7016 GB, free: 22.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.3262, allocations: 1.699 MB / 0.7032 GB, free: 21.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.3276, allocations: 0.8008 MB / 0.704 GB, free: 21.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.3278, allocations: 99.81 kB / 0.7041 GB, free: 21.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3297, allocations: 0.7239 MB / 0.7048 GB, free: 21.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.33, allocations: 308.7 kB / 0.7051 GB, free: 21.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.3306, allocations: 432.4 kB / 0.7055 GB, free: 21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.3338, allocations: 1.959 MB / 0.7074 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3338, allocations: 1.125 kB / 0.7074 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3338, allocations: 0 / 0.7074 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.3339, allocations: 0.6094 kB / 0.7074 GB, free: 20.3 MB / 0.5606 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.002536/0.3364, allocations: 1.467 MB / 0.7089 GB, free: 19.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3364, allocations: 11.53 kB / 0.7089 GB, free: 19.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.3368, allocations: 143.1 kB / 0.709 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.3388, allocations: 1.041 MB / 0.71 GB, free: 18.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.3388, allocations: 51.88 kB / 0.7101 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3389, allocations: 76.95 kB / 0.7102 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.3405, allocations: 0.9431 MB / 0.7111 GB, free: 18.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3405, allocations: 8.781 kB / 0.7111 GB, free: 18.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.3406, allocations: 31.41 kB / 0.7111 GB, free: 18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.3406, allocations: 23.73 kB / 0.7111 GB, free: 17.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3418, allocations: 0.5636 MB / 0.7117 GB, free: 17.8 MB / 0.5606 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.003679/0.3454, allocations: 2.602 MB / 0.7142 GB, free: 16.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.346, allocations: 240.7 kB / 0.7145 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.3464, allocations: 172.3 kB / 0.7146 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.3466, allocations: 64.55 kB / 0.7147 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3466, allocations: 41.31 kB / 0.7147 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.3466, allocations: 0 / 0.7147 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001259/0.3479, allocations: 0.5003 MB / 0.7152 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.3479, allocations: 56.23 kB / 0.7153 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.3489, allocations: 0.816 MB / 0.7161 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.3489, allocations: 32.3 kB / 0.7161 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.3492, allocations: 0.5095 MB / 0.7166 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.3493, allocations: 121.8 kB / 0.7167 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3495, allocations: 115 kB / 0.7168 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.3495, allocations: 327.1 kB / 0.7171 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.3499, allocations: 170.1 kB / 0.7173 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.3504, allocations: 0.4925 MB / 0.7178 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/0.3511, allocations: 0.5128 MB / 0.7183 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3512, allocations: 5.219 kB / 0.7183 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001125/0.3523, allocations: 0.6131 MB / 0.7189 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3523, allocations: 8.062 kB / 0.7189 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3523, allocations: 4.469 kB / 0.7189 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.3523, allocations: 12.98 kB / 0.7189 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.3528, allocations: 123.3 kB / 0.719 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.3528, allocations: 10 kB / 0.719 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.3534, allocations: 71.08 kB / 0.7191 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.3535, allocations: 24.5 kB / 0.7191 GB, free: 12.94 MB / 0.5606 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.0003327/0.3538, allocations: 274.8 kB / 0.7194 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.354, allocations: 93.38 kB / 0.7195 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.355, allocations: 493.9 kB / 0.7199 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.355, allocations: 3.656 kB / 0.7199 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.355, allocations: 1.156 kB / 0.7199 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007386/0.3557, allocations: 457.5 kB / 0.7204 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.3576, allocations: 1.155 MB / 0.7215 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3576, allocations: 2.719 kB / 0.7215 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.358, allocations: 75.05 kB / 0.7216 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.358, allocations: 3.656 kB / 0.7216 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.358, allocations: 12.3 kB / 0.7216 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.358, allocations: 6.75 kB / 0.7216 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.358, allocations: 1.469 kB / 0.7216 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3594, allocations: 0.7535 MB / 0.7223 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.3597, allocations: 134.7 kB / 0.7225 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3598, allocations: 11.53 kB / 0.7225 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.3603, allocations: 28.75 kB / 0.7225 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.3604, allocations: 38.86 kB / 0.7225 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.3604, allocations: 20.17 kB / 0.7226 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007185/0.3611, allocations: 0.5476 MB / 0.7231 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 1.156 kB / 0.7231 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001455/0.3626, allocations: 364.2 kB / 0.7234 GB, free: 10.22 MB / 0.5606 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.0008115/0.3634, allocations: 374 kB / 0.7238 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.3644, allocations: 401.2 kB / 0.7242 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3644, allocations: 0.9375 kB / 0.7242 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.3648, allocations: 181.6 kB / 0.7244 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.3672, allocations: 489.9 kB / 0.7248 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.3696, allocations: 1.544 MB / 0.7263 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.37, allocations: 446 kB / 0.7268 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000632/0.3706, allocations: 168.2 kB / 0.7269 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3708, allocations: 72.33 kB / 0.727 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.3708, allocations: 5.156 kB / 0.727 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of Templates: time 0.03402/0.4048, allocations: 18.67 MB / 0.7452 GB, free: 11.91 MB / 0.5762 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: 6.436466410756111] Failed to read output from testmodel.py, exit status != 0: 0.41374170780181885 0.42989809500000004 0.09259141900000001 Calling exit ...