Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009364/0.0009364, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0008546/0.0008546, allocations: 165.9 kB / 23.96 MB, free: 0.6055 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.9108/0.9108, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5748/0.5748, allocations: 114 MB / 374.7 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5554 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.671e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.028/0.02803, allocations: 38.13 MB / 0.5927 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.04115, allocations: 9.656 MB / 0.6021 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.04306, allocations: 79.31 kB / 0.6022 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.04461, allocations: 0.6481 MB / 0.6028 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.04918, allocations: 2.048 MB / 0.6048 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.05201, allocations: 1.256 MB / 0.606 GB, free: 14.28 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.05544, allocations: 3.442 MB / 0.6094 GB, free: 10.83 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008209/0.05626, allocations: 0.7728 MB / 0.6101 GB, free: 10.04 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.0588, allocations: 1.884 MB / 0.612 GB, free: 8.156 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.05969, allocations: 0.7826 MB / 0.6127 GB, free: 7.371 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.05979, allocations: 100 kB / 0.6128 GB, free: 7.273 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.06107, allocations: 0.7247 MB / 0.6136 GB, free: 6.547 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.06126, allocations: 302.7 kB / 0.6138 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.06157, allocations: 435 kB / 0.6143 GB, free: 5.824 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.06342, allocations: 1.967 MB / 0.6162 GB, free: 3.852 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.06342, allocations: 0 / 0.6162 GB, free: 3.852 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.06343, allocations: 0 / 0.6162 GB, free: 3.852 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.06345, allocations: 0 / 0.6162 GB, free: 3.852 MB / 0.573 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.001851/0.0653, allocations: 1.465 MB / 0.6176 GB, free: 2.348 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.06535, allocations: 16.55 kB / 0.6176 GB, free: 2.332 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.06562, allocations: 140.1 kB / 0.6178 GB, free: 2.195 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.06691, allocations: 1.07 MB / 0.6188 GB, free: 1.094 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.06695, allocations: 54 kB / 0.6189 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.06702, allocations: 72 kB / 0.6189 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.0681, allocations: 0.9373 MB / 0.6198 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.06812, allocations: 4 kB / 0.6198 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.06816, allocations: 24 kB / 0.6199 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.06819, allocations: 28 kB / 0.6199 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.06889, allocations: 0.5671 MB / 0.6204 GB, free: 15.34 MB / 0.5886 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.002452/0.07135, allocations: 2.605 MB / 0.623 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.07174, allocations: 247.1 kB / 0.6232 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.07194, allocations: 161.4 kB / 0.6234 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.07209, allocations: 59.95 kB / 0.6234 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.07211, allocations: 39.09 kB / 0.6235 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.424e-06/0.07212, allocations: 0 / 0.6235 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31): time 0.0006716/0.07279, allocations: 0.5086 MB / 0.624 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.07282, allocations: 55.41 kB / 0.624 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.07343, allocations: 0.81 MB / 0.6248 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.07345, allocations: 37.69 kB / 0.6248 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.07371, allocations: 0.5039 MB / 0.6253 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.07378, allocations: 123 kB / 0.6255 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.07388, allocations: 110.3 kB / 0.6256 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.07397, allocations: 333.9 kB / 0.6259 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.07417, allocations: 169.2 kB / 0.626 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.07469, allocations: 0.4942 MB / 0.6265 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.07519, allocations: 0.5114 MB / 0.627 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.07519, allocations: 4 kB / 0.627 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006545/0.07585, allocations: 0.6103 MB / 0.6276 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.07587, allocations: 8 kB / 0.6276 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.07588, allocations: 4 kB / 0.6276 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.0759, allocations: 11.94 kB / 0.6276 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.07614, allocations: 127.8 kB / 0.6278 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.07615, allocations: 11.94 kB / 0.6278 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.07639, allocations: 63.59 kB / 0.6278 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.07642, allocations: 28.12 kB / 0.6279 GB, free: 7.398 MB / 0.5886 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.0002241/0.07664, allocations: 281.5 kB / 0.6281 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.07673, allocations: 91.44 kB / 0.6282 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.07729, allocations: 467.1 kB / 0.6287 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.0773, allocations: 7.938 kB / 0.6287 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.07731, allocations: 0 / 0.6287 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000401/0.07771, allocations: 464 kB / 0.6291 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.07886, allocations: 1.17 MB / 0.6303 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.07886, allocations: 3.984 kB / 0.6303 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.07903, allocations: 71.89 kB / 0.6303 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.07904, allocations: 4 kB / 0.6303 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.07905, allocations: 15.98 kB / 0.6304 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.07906, allocations: 7.938 kB / 0.6304 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.07906, allocations: 0 / 0.6304 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.0798, allocations: 0.7668 MB / 0.6311 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.07996, allocations: 135.3 kB / 0.6312 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.08001, allocations: 8 kB / 0.6312 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.08023, allocations: 31.91 kB / 0.6313 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.08028, allocations: 27.95 kB / 0.6313 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.0803, allocations: 15.98 kB / 0.6313 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004281/0.08073, allocations: 0.5537 MB / 0.6319 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.08073, allocations: 0 / 0.6319 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006011/0.08133, allocations: 363 kB / 0.6322 GB, free: 2.828 MB / 0.5886 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.0004571/0.08179, allocations: 374.2 kB / 0.6326 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.08228, allocations: 409.1 kB / 0.633 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.08228, allocations: 8.062 kB / 0.633 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.08264, allocations: 175.7 kB / 0.6331 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.08371, allocations: 473.8 kB / 0.6336 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.08526, allocations: 1.563 MB / 0.6351 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.08553, allocations: 448.6 kB / 0.6355 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.08565, allocations: 84.47 kB / 0.6356 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.08565, allocations: 0 / 0.6356 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.01362/0.09928, allocations: 16.89 MB / 0.6521 GB, free: 14.55 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.227169584482908] Failed to read output from testmodel.py, exit status != 0: 0.10530746076256037 0.11288300700000001 0.047721645 Calling exit ...