Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.002379/0.002379, allocations: 97.47 kB / 20.21 MB, free: 4.211 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.001989/0.001989, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.032/1.032, allocations: 115 MB / 375.3 MB, free: 7.598 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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.991e-05, allocations: 2.844 kB / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01859/0.01862, allocations: 18.02 MB / 498.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02868, allocations: 5.088 MB / 0.4921 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.02966, allocations: 20.75 kB / 0.4921 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.03069, allocations: 258.2 kB / 0.4923 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.03305, allocations: 0.6842 MB / 0.493 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.03566, allocations: 0.7592 MB / 0.4938 GB, free: 11.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.03766, allocations: 0.9705 MB / 0.4947 GB, free: 11.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.03832, allocations: 279.1 kB / 0.495 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.03974, allocations: 0.5911 MB / 0.4956 GB, free: 10.78 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.0403, allocations: 275.5 kB / 0.4958 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.04038, allocations: 29.44 kB / 0.4958 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.04206, allocations: 0.6154 MB / 0.4964 GB, free: 10.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.04226, allocations: 139.9 kB / 0.4966 GB, free: 10.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.04253, allocations: 162.6 kB / 0.4967 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.04448, allocations: 0.8956 MB / 0.4976 GB, free: 10.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.04449, allocations: 5.719 kB / 0.4976 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.04449, allocations: 1.812 kB / 0.4976 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.0445, allocations: 0 / 0.4976 GB, free: 10.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001735/0.04623, allocations: 0.9452 MB / 0.4985 GB, free: 9.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.04628, allocations: 12.03 kB / 0.4985 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.04656, allocations: 81.27 kB / 0.4986 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.0474, allocations: 401.9 kB / 0.499 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.04743, allocations: 21.03 kB / 0.499 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.04749, allocations: 29.47 kB / 0.4991 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.04811, allocations: 284.8 kB / 0.4993 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.04813, allocations: 3.938 kB / 0.4993 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.04816, allocations: 12.7 kB / 0.4993 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.04817, allocations: 8.938 kB / 0.4994 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.04858, allocations: 159.6 kB / 0.4995 GB, free: 8.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.05112, allocations: 1.475 MB / 0.5009 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.05148, allocations: 150 kB / 0.5011 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.05164, allocations: 60.58 kB / 0.5011 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.05327, allocations: 0.6 MB / 0.5017 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.05331, allocations: 37.95 kB / 0.5018 GB, free: 6.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.05331, allocations: 2.531 kB / 0.5018 GB, free: 6.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006565/0.05397, allocations: 217.3 kB / 0.502 GB, free: 5.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.05402, allocations: 52.11 kB / 0.502 GB, free: 5.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/0.05488, allocations: 0.6014 MB / 0.5026 GB, free: 5.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.05491, allocations: 30.45 kB / 0.5026 GB, free: 5.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.05525, allocations: 347 kB / 0.503 GB, free: 5.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.05531, allocations: 57 kB / 0.503 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.05546, allocations: 78.92 kB / 0.5031 GB, free: 4.891 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003652/0.05582, allocations: 0.557 MB / 0.5036 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.05599, allocations: 62.2 kB / 0.5037 GB, free: 4.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.05649, allocations: 458.7 kB / 0.5041 GB, free: 3.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.05695, allocations: 240.6 kB / 0.5044 GB, free: 3.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.05695, allocations: 0 / 0.5044 GB, free: 3.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006308/0.05758, allocations: 295.2 kB / 0.5047 GB, free: 3.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.0576, allocations: 9.688 kB / 0.5047 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.05761, allocations: 4.703 kB / 0.5047 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.05765, allocations: 4 kB / 0.5047 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.05791, allocations: 62.42 kB / 0.5047 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.05792, allocations: 4.797 kB / 0.5047 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.05822, allocations: 34.47 kB / 0.5048 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.05826, allocations: 13.27 kB / 0.5048 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003501/0.05861, allocations: 221.2 kB / 0.505 GB, free: 2.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005244/0.05913, allocations: 466.9 kB / 0.5054 GB, free: 2.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004065/0.05954, allocations: 230.8 kB / 0.5057 GB, free: 2.043 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.05954, allocations: 4 kB / 0.5057 GB, free: 2.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006057/0.06015, allocations: 294.1 kB / 0.5059 GB, free: 1.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.06016, allocations: 6.281 kB / 0.5059 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.06017, allocations: 4.656 kB / 0.506 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.06017, allocations: 7.938 kB / 0.506 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.0604, allocations: 66.77 kB / 0.506 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.06041, allocations: 4.75 kB / 0.506 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.06071, allocations: 27.12 kB / 0.5061 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.06074, allocations: 14.14 kB / 0.5061 GB, free: 1.656 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002422/0.06099, allocations: 288.5 kB / 0.5063 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.06109, allocations: 52.52 kB / 0.5064 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.06167, allocations: 212.6 kB / 0.5066 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.06168, allocations: 4.609 kB / 0.5066 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.06168, allocations: 0 / 0.5066 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.06169, allocations: 5.109 kB / 0.5066 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.06304, allocations: 0.7245 MB / 0.5073 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.06305, allocations: 8.734 kB / 0.5073 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.06317, allocations: 23.7 kB / 0.5073 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.06318, allocations: 4 kB / 0.5073 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.0632, allocations: 8.797 kB / 0.5074 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.0632, allocations: 0.7031 kB / 0.5074 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.06321, allocations: 3.938 kB / 0.5074 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.06382, allocations: 383.8 kB / 0.5077 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.06398, allocations: 60.81 kB / 0.5078 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.06404, allocations: 8.844 kB / 0.5078 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.0642, allocations: 9.359 kB / 0.5078 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.06428, allocations: 18.41 kB / 0.5078 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.0643, allocations: 12.56 kB / 0.5078 GB, free: 15.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006157/0.06491, allocations: 385.3 kB / 0.5082 GB, free: 15.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06491, allocations: 0 / 0.5082 GB, free: 15.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001006/0.06592, allocations: 243.1 kB / 0.5084 GB, free: 15.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003132/0.06905, allocations: 0.5027 MB / 0.5089 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008905/0.06994, allocations: 297.4 kB / 0.5092 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.06995, allocations: 4.062 kB / 0.5092 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.07014, allocations: 85.08 kB / 0.5093 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.07147, allocations: 227.5 kB / 0.5095 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.07315, allocations: 0.7521 MB / 0.5102 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.07349, allocations: 240.4 kB / 0.5105 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.07382, allocations: 85.75 kB / 0.5106 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.07393, allocations: 42.38 kB / 0.5106 GB, free: 13.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/0.07393, allocations: 0 / 0.5106 GB, free: 13.46 MB / 442.7 MB Notification: Performance of Templates: time 0.02174/0.09567, allocations: 10.13 MB / 0.5205 GB, free: 3.883 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.19751735101454]