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.001365/0.001365, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001366/0.001366, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.9571/0.9571, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6117/0.6117, allocations: 115 MB / 375.7 MB, free: 7.645 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.663e-06/1.663e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.702e-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.006289/0.006306, allocations: 7.538 MB / 489.1 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.009822, allocations: 3.124 MB / 492.2 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.01021, allocations: 23.19 kB / 492.2 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.01082, allocations: 189.1 kB / 492.4 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.01159, allocations: 0.496 MB / 492.9 MB, free: 4.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.0129, allocations: 0.7418 MB / 493.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.01376, allocations: 0.9594 MB / 494.6 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.0141, allocations: 290.9 kB / 494.9 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.01489, allocations: 0.5012 MB / 495.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.0152, allocations: 266.4 kB / 495.6 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.01525, allocations: 29.59 kB / 495.7 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.0159, allocations: 0.5266 MB / 496.2 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.016, allocations: 141.6 kB / 496.3 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.01613, allocations: 160.2 kB / 496.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.01691, allocations: 0.6881 MB / 497.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01691, allocations: 0 / 497.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01691, allocations: 3.938 kB / 497.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.01692, allocations: 1.938 kB / 497.2 MB, free: 2.629 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.0008288/0.01775, allocations: 0.8944 MB / 498.1 MB, free: 17.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.01778, allocations: 9.438 kB / 498.1 MB, free: 17.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.01794, allocations: 83.97 kB / 498.2 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.01834, allocations: 405.3 kB / 498.6 MB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.01836, allocations: 28.27 kB / 498.6 MB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.01839, allocations: 28.09 kB / 498.6 MB, free: 17.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.01869, allocations: 249.1 kB / 498.9 MB, free: 17.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.0187, allocations: 6.812 kB / 498.9 MB, free: 17.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.01872, allocations: 10.44 kB / 498.9 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01873, allocations: 6.188 kB / 498.9 MB, free: 17.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.01887, allocations: 97.22 kB / 499 MB, free: 17.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01997, allocations: 1.37 MB / 0.4886 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.02014, allocations: 103.8 kB / 0.4887 GB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.0202, allocations: 41.8 kB / 0.4888 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000677/0.02087, allocations: 0.5706 MB / 0.4893 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.02089, allocations: 35.67 kB / 0.4893 GB, free: 15.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.02089, allocations: 0.5625 kB / 0.4893 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002778/0.02117, allocations: 168 kB / 0.4895 GB, free: 15.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.02119, allocations: 54.28 kB / 0.4896 GB, free: 15.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.0216, allocations: 0.5143 MB / 0.4901 GB, free: 15.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.02161, allocations: 35.98 kB / 0.4901 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.02177, allocations: 324.9 kB / 0.4904 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.02181, allocations: 59.44 kB / 0.4905 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.02189, allocations: 78.03 kB / 0.4905 GB, free: 14.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.02204, allocations: 0.5337 MB / 0.4911 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.02211, allocations: 41.27 kB / 0.4911 GB, free: 14.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.02234, allocations: 432.3 kB / 0.4915 GB, free: 13.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.02254, allocations: 184.8 kB / 0.4917 GB, free: 13.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02254, allocations: 0.9375 kB / 0.4917 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003081/0.02285, allocations: 245.3 kB / 0.4919 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.02287, allocations: 12.55 kB / 0.4919 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.02287, allocations: 3.125 kB / 0.4919 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.02289, allocations: 4.234 kB / 0.4919 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.02305, allocations: 57.41 kB / 0.492 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.02306, allocations: 6.109 kB / 0.492 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.02319, allocations: 41.42 kB / 0.492 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02322, allocations: 13.19 kB / 0.4921 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001187/0.02334, allocations: 171 kB / 0.4922 GB, free: 13.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002307/0.02357, allocations: 428.6 kB / 0.4926 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001577/0.02372, allocations: 181.6 kB / 0.4928 GB, free: 12.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.02373, allocations: 2.984 kB / 0.4928 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002741/0.024, allocations: 237.8 kB / 0.493 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.02401, allocations: 6.312 kB / 0.493 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.02401, allocations: 3.281 kB / 0.493 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.229e-06/0.02402, allocations: 8.219 kB / 0.493 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.02414, allocations: 61.5 kB / 0.4931 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02415, allocations: 5.781 kB / 0.4931 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02427, allocations: 27.69 kB / 0.4931 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.02429, allocations: 17.02 kB / 0.4932 GB, free: 12.75 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.0001594/0.02445, allocations: 283.5 kB / 0.4934 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.02451, allocations: 52.8 kB / 0.4935 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.02477, allocations: 194.1 kB / 0.4937 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.02477, allocations: 4.234 kB / 0.4937 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.02477, allocations: 0 / 0.4937 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02478, allocations: 3.188 kB / 0.4937 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.02535, allocations: 0.6281 MB / 0.4943 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02535, allocations: 1.438 kB / 0.4943 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.02542, allocations: 29.66 kB / 0.4943 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.02543, allocations: 3.594 kB / 0.4943 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.02544, allocations: 2.828 kB / 0.4943 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.02544, allocations: 6.312 kB / 0.4943 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.02544, allocations: 2.234 kB / 0.4943 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.02568, allocations: 356.7 kB / 0.4947 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.02576, allocations: 67.47 kB / 0.4947 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.02579, allocations: 2.719 kB / 0.4947 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.02587, allocations: 10.06 kB / 0.4947 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.02591, allocations: 19.31 kB / 0.4948 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.02592, allocations: 10.03 kB / 0.4948 GB, free: 11.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.02619, allocations: 335.6 kB / 0.4951 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02619, allocations: 0 / 0.4951 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.02665, allocations: 223.3 kB / 0.4953 GB, free: 11.32 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.0008702/0.02752, allocations: 413.1 kB / 0.4957 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.02784, allocations: 226.9 kB / 0.4959 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02784, allocations: 1.094 kB / 0.4959 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.02792, allocations: 61.67 kB / 0.496 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.02856, allocations: 229.3 kB / 0.4962 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.02989, allocations: 0.7422 MB / 0.4969 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.02998, allocations: 125 kB / 0.497 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.03018, allocations: 82.98 kB / 0.4971 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.03024, allocations: 39.73 kB / 0.4971 GB, free: 10.38 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03024, allocations: 0 / 0.4971 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Templates: time 0.0122/0.04244, allocations: 10.33 MB / 0.5072 GB, free: 1.98 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.73246907023713]