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.001441/0.001441, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001592/0.001592, allocations: 157.7 kB / 23.52 MB, free: 0.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 1.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.036/1.036, allocations: 115 MB / 375.3 MB, free: 7.562 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.643e-06/1.643e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.888e-05, allocations: 2.312 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01781/0.01784, allocations: 16.2 MB / 497 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008459/0.0263, allocations: 4.672 MB / 0.4899 GB, free: 14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/0.02707, allocations: 22.88 kB / 0.4899 GB, free: 13.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.02818, allocations: 259.5 kB / 0.4902 GB, free: 13.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.03057, allocations: 0.6797 MB / 0.4908 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.03377, allocations: 0.7633 MB / 0.4916 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.0359, allocations: 0.9609 MB / 0.4925 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.03667, allocations: 287.9 kB / 0.4928 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.03839, allocations: 0.5924 MB / 0.4934 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.03913, allocations: 267 kB / 0.4936 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.03925, allocations: 29.31 kB / 0.4936 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.04117, allocations: 0.6178 MB / 0.4942 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.04144, allocations: 144.1 kB / 0.4944 GB, free: 11.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.04184, allocations: 161.3 kB / 0.4945 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.04392, allocations: 0.897 MB / 0.4954 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.04392, allocations: 1.031 kB / 0.4954 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.04392, allocations: 0 / 0.4954 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.04395, allocations: 0.6562 kB / 0.4954 GB, free: 11.48 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.002013/0.04596, allocations: 0.8198 MB / 0.4962 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.046, allocations: 9.469 kB / 0.4962 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.0463, allocations: 85.31 kB / 0.4963 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/0.04723, allocations: 425.7 kB / 0.4967 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.04726, allocations: 21 kB / 0.4967 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.0473, allocations: 29.14 kB / 0.4968 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.04795, allocations: 285.5 kB / 0.497 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.04796, allocations: 1.031 kB / 0.497 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.04799, allocations: 7.406 kB / 0.497 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.048, allocations: 6.281 kB / 0.497 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.04849, allocations: 189 kB / 0.4972 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.05074, allocations: 1.174 MB / 0.4984 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.05111, allocations: 155.2 kB / 0.4985 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.05131, allocations: 82.62 kB / 0.4986 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.05285, allocations: 0.5274 MB / 0.4991 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.05289, allocations: 35.17 kB / 0.4992 GB, free: 8.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.05289, allocations: 0.6562 kB / 0.4992 GB, free: 8.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007887/0.05368, allocations: 260 kB / 0.4994 GB, free: 8.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.05373, allocations: 55.41 kB / 0.4995 GB, free: 8.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/0.05458, allocations: 0.5572 MB / 0.5 GB, free: 8.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.05462, allocations: 33.7 kB / 0.5 GB, free: 8.066 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.05489, allocations: 276.4 kB / 0.5003 GB, free: 7.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.05495, allocations: 51.72 kB / 0.5003 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.05509, allocations: 73.17 kB / 0.5004 GB, free: 7.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.05531, allocations: 360.8 kB / 0.5008 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.05554, allocations: 77.55 kB / 0.5008 GB, free: 7.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.05608, allocations: 444.8 kB / 0.5013 GB, free: 6.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.05659, allocations: 235.1 kB / 0.5015 GB, free: 6.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.05659, allocations: 0 / 0.5015 GB, free: 6.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007416/0.05733, allocations: 323.5 kB / 0.5018 GB, free: 6.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.05735, allocations: 7.938 kB / 0.5018 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.05736, allocations: 4 kB / 0.5018 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.05739, allocations: 5.469 kB / 0.5018 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.05769, allocations: 64.89 kB / 0.5019 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.05772, allocations: 8.734 kB / 0.5019 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.05809, allocations: 42.52 kB / 0.5019 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.05814, allocations: 13.17 kB / 0.5019 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000392/0.05853, allocations: 218.5 kB / 0.5021 GB, free: 5.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005122/0.05904, allocations: 445.2 kB / 0.5026 GB, free: 5.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004769/0.05952, allocations: 228.1 kB / 0.5028 GB, free: 5.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.05952, allocations: 0 / 0.5028 GB, free: 5.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007144/0.06023, allocations: 322.4 kB / 0.5031 GB, free: 4.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.06025, allocations: 8 kB / 0.5031 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.06025, allocations: 4.188 kB / 0.5031 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.06026, allocations: 8.688 kB / 0.5031 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.06053, allocations: 63.17 kB / 0.5032 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.06054, allocations: 4.703 kB / 0.5032 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.06092, allocations: 38.58 kB / 0.5032 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.06095, allocations: 16.8 kB / 0.5032 GB, free: 4.762 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.0001758/0.06113, allocations: 200.8 kB / 0.5034 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.06124, allocations: 49.86 kB / 0.5035 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.06191, allocations: 266.6 kB / 0.5037 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.06193, allocations: 5.016 kB / 0.5037 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.06193, allocations: 0 / 0.5037 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.06193, allocations: 1.859 kB / 0.5037 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.06322, allocations: 0.6472 MB / 0.5044 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.06322, allocations: 0 / 0.5044 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.06338, allocations: 33.81 kB / 0.5044 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.06338, allocations: 0 / 0.5044 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.0634, allocations: 8.594 kB / 0.5044 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.06341, allocations: 7.938 kB / 0.5044 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.06341, allocations: 0.5156 kB / 0.5044 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.06403, allocations: 360 kB / 0.5047 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.06421, allocations: 73.03 kB / 0.5048 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.06427, allocations: 0 / 0.5048 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.0645, allocations: 19.61 kB / 0.5048 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.06456, allocations: 14.22 kB / 0.5048 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.06458, allocations: 13.08 kB / 0.5049 GB, free: 3.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005962/0.06518, allocations: 399.5 kB / 0.5052 GB, free: 2.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06518, allocations: 0 / 0.5052 GB, free: 2.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009502/0.06613, allocations: 243.9 kB / 0.5055 GB, free: 2.609 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.002165/0.06829, allocations: 0.5061 MB / 0.506 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.06916, allocations: 311.9 kB / 0.5063 GB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.06916, allocations: 0 / 0.5063 GB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.06939, allocations: 85.58 kB / 0.5063 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.07063, allocations: 225.1 kB / 0.5066 GB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.07233, allocations: 0.7927 MB / 0.5073 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.07266, allocations: 240 kB / 0.5076 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.07304, allocations: 95.02 kB / 0.5077 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.07316, allocations: 46.38 kB / 0.5077 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.07316, allocations: 0 / 0.5077 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of Templates: time 0.02128/0.09444, allocations: 10.14 MB / 0.5176 GB, free: 6.992 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.958738539018668]