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.0009353/0.0009353, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009158/0.0009158, allocations: 171.7 kB / 24.84 MB, free: 8.918 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.9796/0.9796, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.6892/0.6892, allocations: 114.9 MB / 376.8 MB, free: 7.516 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.142e-06/1.142e-06, allocations: 0 / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.792e-05, allocations: 2.312 kB / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006375/0.006393, allocations: 7.458 MB / 490.2 MB, free: 6.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.01017, allocations: 3.098 MB / 493.3 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.01058, allocations: 20 kB / 493.3 MB, free: 4.645 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.01116, allocations: 191 kB / 493.5 MB, free: 4.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.01204, allocations: 0.5017 MB / 494 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.01332, allocations: 0.7364 MB / 494.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.01426, allocations: 0.9588 MB / 495.7 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.01462, allocations: 285.5 kB / 496 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.01551, allocations: 0.5114 MB / 496.5 MB, free: 3.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.01588, allocations: 268.1 kB / 496.8 MB, free: 3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.01592, allocations: 28.53 kB / 496.8 MB, free: 3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007807/0.0167, allocations: 0.5298 MB / 497.3 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01681, allocations: 144 kB / 497.5 MB, free: 2.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01695, allocations: 159.2 kB / 497.6 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.01787, allocations: 0.6864 MB / 498.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01788, allocations: 0 / 498.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01788, allocations: 0 / 498.3 MB, free: 2.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.01789, allocations: 1.156 kB / 498.3 MB, free: 2.449 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009113/0.0188, allocations: 0.9049 MB / 499.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.01883, allocations: 11.25 kB / 499.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.019, allocations: 86.22 kB / 499.3 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.01939, allocations: 393.2 kB / 499.7 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01941, allocations: 20.62 kB / 499.7 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.01944, allocations: 28.81 kB / 499.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.01968, allocations: 232.3 kB / 500 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01969, allocations: 4.25 kB / 500 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.01971, allocations: 14.31 kB / 500 MB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01971, allocations: 9.906 kB / 500 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.01981, allocations: 76.42 kB / 0.4883 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.02089, allocations: 1.289 MB / 0.4896 GB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.02103, allocations: 96.7 kB / 0.4897 GB, free: 16.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.02107, allocations: 39.88 kB / 0.4897 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.02175, allocations: 0.5725 MB / 0.4903 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.02176, allocations: 34.45 kB / 0.4903 GB, free: 15.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.582e-06/0.02177, allocations: 1.906 kB / 0.4903 GB, free: 15.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002312/0.022, allocations: 152.2 kB / 0.4905 GB, free: 15.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.02203, allocations: 56.81 kB / 0.4905 GB, free: 15.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.02241, allocations: 0.5083 MB / 0.491 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.02243, allocations: 28.05 kB / 0.4911 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.02261, allocations: 333.4 kB / 0.4914 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.02265, allocations: 55.7 kB / 0.4914 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.02273, allocations: 84.28 kB / 0.4915 GB, free: 14.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.02288, allocations: 0.5328 MB / 0.492 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.02293, allocations: 33.78 kB / 0.4921 GB, free: 14.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.02313, allocations: 423.5 kB / 0.4925 GB, free: 13.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.02329, allocations: 180.1 kB / 0.4926 GB, free: 13.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02329, allocations: 1.375 kB / 0.4926 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002929/0.02358, allocations: 225.3 kB / 0.4928 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.0236, allocations: 6.719 kB / 0.4929 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.0236, allocations: 3.25 kB / 0.4929 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.02362, allocations: 9.906 kB / 0.4929 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.02378, allocations: 61.28 kB / 0.4929 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.02379, allocations: 5.109 kB / 0.4929 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.02394, allocations: 38.77 kB / 0.493 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.02396, allocations: 14.97 kB / 0.493 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001187/0.02408, allocations: 160.9 kB / 0.4931 GB, free: 13.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001997/0.02428, allocations: 422.1 kB / 0.4935 GB, free: 12.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001355/0.02442, allocations: 171.5 kB / 0.4937 GB, free: 12.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.02442, allocations: 1.094 kB / 0.4937 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002544/0.02467, allocations: 227.4 kB / 0.4939 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.02468, allocations: 6.781 kB / 0.4939 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.02468, allocations: 2.938 kB / 0.4939 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.02469, allocations: 5.469 kB / 0.4939 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.02482, allocations: 73.64 kB / 0.494 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.02482, allocations: 4.172 kB / 0.494 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.02496, allocations: 28.2 kB / 0.494 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.02498, allocations: 9.5 kB / 0.494 GB, free: 12.65 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.0001162/0.02509, allocations: 286.1 kB / 0.4943 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.02515, allocations: 54.39 kB / 0.4944 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.0254, allocations: 175.9 kB / 0.4945 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.0254, allocations: 7.359 kB / 0.4945 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.02541, allocations: 0 / 0.4945 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02541, allocations: 1.172 kB / 0.4945 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.02595, allocations: 0.5453 MB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.02596, allocations: 3.375 kB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.02603, allocations: 30.31 kB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02603, allocations: 2.938 kB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.02604, allocations: 7.688 kB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.02604, allocations: 2.094 kB / 0.4951 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02605, allocations: 7.062 kB / 0.4951 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.02629, allocations: 334.7 kB / 0.4954 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.02638, allocations: 66.42 kB / 0.4955 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.02641, allocations: 6.719 kB / 0.4955 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.0265, allocations: 10.12 kB / 0.4955 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.02654, allocations: 18.47 kB / 0.4955 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.02655, allocations: 9.609 kB / 0.4956 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.02679, allocations: 316.7 kB / 0.4959 GB, free: 11.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02679, allocations: 1.031 kB / 0.4959 GB, free: 11.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005767/0.02736, allocations: 220.5 kB / 0.4961 GB, free: 11.29 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.0008943/0.02826, allocations: 421 kB / 0.4965 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.02858, allocations: 210.5 kB / 0.4967 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02858, allocations: 0 / 0.4967 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.02865, allocations: 54.69 kB / 0.4967 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.02934, allocations: 224.4 kB / 0.4969 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.03053, allocations: 0.7395 MB / 0.4977 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.03062, allocations: 121.7 kB / 0.4978 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.03085, allocations: 66.22 kB / 0.4978 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.03118, allocations: 231.8 kB / 0.4981 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03118, allocations: 1.125 kB / 0.4981 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.01374/0.04492, allocations: 10.44 MB / 0.5083 GB, free: 1.863 MB / 426.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: 3.7838638881221414]