Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0008673/0.0008673, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009282/0.0009282, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9604/0.9604, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.6491/0.6491, allocations: 115 MB / 375.7 MB, free: 7.574 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.132e-05, allocations: 5.734 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.009905/0.009936, allocations: 7.406 MB / 488.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.01539, allocations: 3.224 MB / 492.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.01618, allocations: 20.84 kB / 492.2 MB, free: 4.836 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.01709, allocations: 209.7 kB / 492.4 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.01863, allocations: 476.6 kB / 492.8 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.02067, allocations: 0.7318 MB / 493.6 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.02235, allocations: 0.986 MB / 494.5 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.02293, allocations: 280.5 kB / 494.8 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.02389, allocations: 489 kB / 495.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.02449, allocations: 273.2 kB / 495.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.0246, allocations: 27.62 kB / 495.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.02586, allocations: 478 kB / 496.1 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.02599, allocations: 113 kB / 496.2 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.0262, allocations: 141.7 kB / 496.3 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.02776, allocations: 0.6124 MB / 496.9 MB, free: 2.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.02777, allocations: 2.656 kB / 496.9 MB, free: 2.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.02777, allocations: 0 / 496.9 MB, free: 2.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.02779, allocations: 0 / 496.9 MB, free: 2.695 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00146/0.02925, allocations: 0.8521 MB / 497.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.0293, allocations: 9.812 kB / 497.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.02948, allocations: 81 kB / 497.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.03011, allocations: 373.2 kB / 498.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.03014, allocations: 20.16 kB / 498.2 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.03019, allocations: 27.66 kB / 498.3 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.0306, allocations: 162.7 kB / 498.4 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.03061, allocations: 3.188 kB / 498.4 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.03064, allocations: 10.38 kB / 498.4 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.03065, allocations: 4.375 kB / 498.4 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.03086, allocations: 71.05 kB / 498.5 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.03239, allocations: 0.7391 MB / 499.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.0326, allocations: 88.92 kB / 499.3 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.03268, allocations: 34.69 kB / 499.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.03281, allocations: 16.72 kB / 499.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.03284, allocations: 38.52 kB / 499.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.03284, allocations: 0 / 499.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000419/0.03326, allocations: 147.8 kB / 499.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.03328, allocations: 53.88 kB / 499.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.03379, allocations: 450.6 kB / 0.4883 GB, free: 16.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.03381, allocations: 31.02 kB / 0.4884 GB, free: 16.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.03401, allocations: 285.9 kB / 0.4886 GB, free: 16.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.03405, allocations: 45.72 kB / 0.4887 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.03415, allocations: 70.12 kB / 0.4888 GB, free: 16.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.03435, allocations: 0.5234 MB / 0.4893 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.03445, allocations: 35.53 kB / 0.4893 GB, free: 15.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.03465, allocations: 381.9 kB / 0.4897 GB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.03483, allocations: 91.72 kB / 0.4898 GB, free: 15.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.03484, allocations: 1.031 kB / 0.4898 GB, free: 15.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000396/0.03523, allocations: 181.9 kB / 0.4899 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.03525, allocations: 6.312 kB / 0.4899 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.03526, allocations: 1.219 kB / 0.4899 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.03528, allocations: 1.625 kB / 0.4899 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.03549, allocations: 46 kB / 0.49 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.0355, allocations: 3.078 kB / 0.49 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.0357, allocations: 27.36 kB / 0.49 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.03574, allocations: 13.67 kB / 0.49 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001683/0.03591, allocations: 158.6 kB / 0.4902 GB, free: 15.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003298/0.03624, allocations: 398.1 kB / 0.4906 GB, free: 14.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001979/0.03644, allocations: 104.3 kB / 0.4907 GB, free: 14.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.03644, allocations: 8.344 kB / 0.4907 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003751/0.03681, allocations: 186.3 kB / 0.4908 GB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.03683, allocations: 6.344 kB / 0.4908 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.03683, allocations: 1.156 kB / 0.4908 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.03684, allocations: 2.156 kB / 0.4909 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.03701, allocations: 44.47 kB / 0.4909 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.03701, allocations: 5.344 kB / 0.4909 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.03721, allocations: 26.98 kB / 0.4909 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.03724, allocations: 12.67 kB / 0.4909 GB, free: 14.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001486/0.03739, allocations: 286.1 kB / 0.4912 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.03747, allocations: 47.59 kB / 0.4913 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.03786, allocations: 172.2 kB / 0.4914 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.03787, allocations: 2.531 kB / 0.4914 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03788, allocations: 0 / 0.4914 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.03788, allocations: 2.312 kB / 0.4914 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.03877, allocations: 0.5985 MB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.03877, allocations: 2.469 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.03888, allocations: 29.19 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.03888, allocations: 2.125 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.0389, allocations: 3.953 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.0389, allocations: 2.906 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.0389, allocations: 1.125 kB / 0.492 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.03926, allocations: 343.4 kB / 0.4924 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.03937, allocations: 57.41 kB / 0.4924 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.03941, allocations: 2.25 kB / 0.4924 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.03955, allocations: 11.38 kB / 0.4924 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.0396, allocations: 16.08 kB / 0.4925 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.03962, allocations: 9.922 kB / 0.4925 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003404/0.03996, allocations: 294.4 kB / 0.4927 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03996, allocations: 0 / 0.4927 GB, free: 13.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00079/0.04075, allocations: 196.4 kB / 0.4929 GB, free: 13.03 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 (16): * Single equations (assignments): 14 * 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.001198/0.04195, allocations: 416.9 kB / 0.4933 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.04242, allocations: 173.3 kB / 0.4935 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04243, allocations: 0 / 0.4935 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.04254, allocations: 53.59 kB / 0.4935 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/0.04343, allocations: 182.5 kB / 0.4937 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.04524, allocations: 0.6861 MB / 0.4944 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.04536, allocations: 109.7 kB / 0.4945 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000331/0.04569, allocations: 82.72 kB / 0.4946 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.04579, allocations: 41.02 kB / 0.4946 GB, free: 12.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.0458, allocations: 0 / 0.4946 GB, free: 12.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01573/0.06152, allocations: 7.706 MB / 0.5021 GB, free: 7.219 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.082398645114154]