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.001476/0.001476, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001158/0.001158, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.112/1.112, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.6657/0.6657, allocations: 115 MB / 376 MB, free: 7.68 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.813e-06/1.813e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.965e-05, allocations: 2.312 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0168/0.01683, allocations: 18.09 MB / 499.6 MB, free: 15.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.02242, allocations: 5.085 MB / 0.4929 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.02276, allocations: 20.59 kB / 0.4929 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.02359, allocations: 267 kB / 0.4931 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.02498, allocations: 0.6875 MB / 0.4938 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.02656, allocations: 0.767 MB / 0.4946 GB, free: 11.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.02781, allocations: 0.9563 MB / 0.4955 GB, free: 11.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.02823, allocations: 284.7 kB / 0.4958 GB, free: 11.08 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.02908, allocations: 0.5962 MB / 0.4964 GB, free: 10.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.02949, allocations: 272.3 kB / 0.4966 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.02954, allocations: 29.38 kB / 0.4966 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/0.03049, allocations: 0.6083 MB / 0.4972 GB, free: 10.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.03063, allocations: 144.5 kB / 0.4974 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.03079, allocations: 155.9 kB / 0.4975 GB, free: 10.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.0319, allocations: 0.7545 MB / 0.4983 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.03191, allocations: 0 / 0.4983 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.03191, allocations: 0.9375 kB / 0.4983 GB, free: 10.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.03192, allocations: 0 / 0.4983 GB, free: 10.13 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.001058/0.03298, allocations: 0.9216 MB / 0.4992 GB, free: 9.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.03301, allocations: 9.297 kB / 0.4992 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.03319, allocations: 82.59 kB / 0.4992 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.03369, allocations: 400 kB / 0.4996 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.03371, allocations: 23.22 kB / 0.4997 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.03374, allocations: 30.97 kB / 0.4997 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.03407, allocations: 248.2 kB / 0.4999 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.03408, allocations: 0 / 0.4999 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.0341, allocations: 12 kB / 0.4999 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.03411, allocations: 10.44 kB / 0.4999 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.03426, allocations: 96.41 kB / 0.5 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.03551, allocations: 1.378 MB / 0.5014 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.03568, allocations: 102.3 kB / 0.5015 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.03574, allocations: 41.53 kB / 0.5015 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.03644, allocations: 0.5872 MB / 0.5021 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.03647, allocations: 42.83 kB / 0.5021 GB, free: 6.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.03647, allocations: 0 / 0.5021 GB, free: 6.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002799/0.03675, allocations: 161.7 kB / 0.5023 GB, free: 6.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.03677, allocations: 51.41 kB / 0.5023 GB, free: 6.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.03726, allocations: 0.5211 MB / 0.5028 GB, free: 6.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.03729, allocations: 33.7 kB / 0.5029 GB, free: 6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.03746, allocations: 319.1 kB / 0.5032 GB, free: 5.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.03749, allocations: 56.27 kB / 0.5032 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.03756, allocations: 78.59 kB / 0.5033 GB, free: 5.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.03771, allocations: 0.5345 MB / 0.5038 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.03777, allocations: 43.64 kB / 0.5039 GB, free: 5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.03798, allocations: 429.3 kB / 0.5043 GB, free: 4.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.03816, allocations: 189.8 kB / 0.5045 GB, free: 4.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.03816, allocations: 0 / 0.5045 GB, free: 4.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002835/0.03845, allocations: 244.5 kB / 0.5047 GB, free: 4.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.03846, allocations: 16.53 kB / 0.5047 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.03847, allocations: 0 / 0.5047 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.03848, allocations: 10.45 kB / 0.5047 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.03863, allocations: 64.19 kB / 0.5048 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.03864, allocations: 4 kB / 0.5048 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.03877, allocations: 34.03 kB / 0.5048 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.0388, allocations: 17.22 kB / 0.5048 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001219/0.03892, allocations: 162.3 kB / 0.505 GB, free: 3.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001914/0.03911, allocations: 433.5 kB / 0.5054 GB, free: 3.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001598/0.03927, allocations: 182.4 kB / 0.5056 GB, free: 2.992 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.03927, allocations: 0 / 0.5056 GB, free: 2.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002623/0.03953, allocations: 246.7 kB / 0.5058 GB, free: 2.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.03954, allocations: 5.641 kB / 0.5058 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.03954, allocations: 4 kB / 0.5058 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.03955, allocations: 7.938 kB / 0.5058 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.03966, allocations: 55.11 kB / 0.5059 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.03966, allocations: 4.75 kB / 0.5059 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.03979, allocations: 30.7 kB / 0.5059 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.03981, allocations: 14.66 kB / 0.5059 GB, free: 2.66 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 9.759e-05/0.03991, allocations: 288.6 kB / 0.5062 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.03996, allocations: 56.19 kB / 0.5063 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.04022, allocations: 181.9 kB / 0.5064 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.04022, allocations: 6.438 kB / 0.5064 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.04023, allocations: 0 / 0.5064 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.04023, allocations: 1.125 kB / 0.5064 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.0408, allocations: 0.627 MB / 0.507 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.0408, allocations: 0 / 0.507 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.04087, allocations: 32.34 kB / 0.5071 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.04087, allocations: 1.344 kB / 0.5071 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.04088, allocations: 12.8 kB / 0.5071 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.04088, allocations: 0 / 0.5071 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.04089, allocations: 4 kB / 0.5071 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.0411, allocations: 354.5 kB / 0.5074 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.04118, allocations: 64.56 kB / 0.5075 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.04122, allocations: 12.69 kB / 0.5075 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.0413, allocations: 4.703 kB / 0.5075 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.04134, allocations: 18.89 kB / 0.5075 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.04135, allocations: 4.609 kB / 0.5075 GB, free: 1.043 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.0416, allocations: 340.9 kB / 0.5079 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0416, allocations: 0 / 0.5079 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.04208, allocations: 239.3 kB / 0.5081 GB, free: 0.5234 MB / 426.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.0009761/0.04306, allocations: 488.6 kB / 0.5086 GB, free: 216 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.04338, allocations: 222 kB / 0.5088 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04339, allocations: 1 kB / 0.5088 GB, free: 16 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.04347, allocations: 54.22 kB / 0.5088 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.04413, allocations: 228.4 kB / 0.509 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.04528, allocations: 0.7408 MB / 0.5098 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.04545, allocations: 119.2 kB / 0.5099 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.04567, allocations: 89.09 kB / 0.51 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.04573, allocations: 46.31 kB / 0.51 GB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04573, allocations: 0 / 0.51 GB, free: 14.83 MB / 442.7 MB Notification: Performance of Templates: time 0.01187/0.0576, allocations: 10.15 MB / 0.5199 GB, free: 5.184 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: 4.039779764832929]