Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 191.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002589/0.002589, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 95.98 kB / 0.6057 GB, free: 25.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.167, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02023/0.1873, allocations: 17.38 MB / 0.7098 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007295/0.1947, allocations: 4.941 MB / 0.7146 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.1952, allocations: 11.94 kB / 0.7146 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.196, allocations: 214.9 kB / 0.7148 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1974, allocations: 0.5623 MB / 0.7154 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1992, allocations: 0.6402 MB / 0.716 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.2008, allocations: 1.278 MB / 0.7172 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.2013, allocations: 293 kB / 0.7175 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/0.202, allocations: 382.3 kB / 0.7179 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.2025, allocations: 322.6 kB / 0.7182 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.2026, allocations: 20 kB / 0.7182 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.2038, allocations: 0.6979 MB / 0.7189 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.204, allocations: 123.5 kB / 0.719 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.2042, allocations: 234.6 kB / 0.7192 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2054, allocations: 0.8568 MB / 0.7201 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2054, allocations: 0 / 0.7201 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2054, allocations: 0 / 0.7201 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2055, allocations: 0 / 0.7201 GB, free: 8.844 MB / 0.5137 GB 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.001376/0.2068, allocations: 0.8737 MB / 0.7209 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2069, allocations: 12.02 kB / 0.7209 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2071, allocations: 68.12 kB / 0.721 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.2077, allocations: 445.7 kB / 0.7214 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2077, allocations: 28.5 kB / 0.7214 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.2078, allocations: 28 kB / 0.7215 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.2083, allocations: 282.2 kB / 0.7217 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2083, allocations: 0 / 0.7217 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2083, allocations: 12 kB / 0.7217 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2084, allocations: 11.94 kB / 0.7218 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.2088, allocations: 190.1 kB / 0.7219 GB, free: 6.812 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.2108, allocations: 1.476 MB / 0.7234 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.2112, allocations: 167.8 kB / 0.7235 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2114, allocations: 84.81 kB / 0.7236 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.2132, allocations: 1.264 MB / 0.7249 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.2132, allocations: 42.48 kB / 0.7249 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2132, allocations: 0 / 0.7249 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006635/0.2139, allocations: 254.5 kB / 0.7251 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2139, allocations: 51.41 kB / 0.7252 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.2147, allocations: 0.5847 MB / 0.7258 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2147, allocations: 33.7 kB / 0.7258 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.2149, allocations: 268.1 kB / 0.726 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.215, allocations: 55.2 kB / 0.7261 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2151, allocations: 73.88 kB / 0.7262 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2153, allocations: 358.8 kB / 0.7265 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.2155, allocations: 85.88 kB / 0.7266 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.2159, allocations: 214.7 kB / 0.7268 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.2163, allocations: 227 kB / 0.727 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2163, allocations: 0 / 0.727 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006089/0.2169, allocations: 312.8 kB / 0.7273 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2169, allocations: 11.94 kB / 0.7273 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2169, allocations: 0 / 0.7273 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.217, allocations: 4 kB / 0.7273 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.2172, allocations: 63.91 kB / 0.7274 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2173, allocations: 7.984 kB / 0.7274 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.2176, allocations: 51.83 kB / 0.7274 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.2177, allocations: 19.98 kB / 0.7275 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003316/0.218, allocations: 216.6 kB / 0.7277 GB, free: 480 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/0.2183, allocations: 205.6 kB / 0.7279 GB, free: 224 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004214/0.2188, allocations: 231.2 kB / 0.7281 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.2188, allocations: 0 / 0.7281 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005969/0.2194, allocations: 310.5 kB / 0.7284 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2194, allocations: 8 kB / 0.7284 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2194, allocations: 3.938 kB / 0.7284 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.2194, allocations: 4 kB / 0.7284 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2196, allocations: 63.91 kB / 0.7285 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2197, allocations: 11.92 kB / 0.7285 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.22, allocations: 44.06 kB / 0.7285 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.22, allocations: 16 kB / 0.7285 GB, free: 15.5 MB / 0.5294 GB 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.0001441/0.2202, allocations: 197 kB / 0.7287 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.2203, allocations: 55.28 kB / 0.7288 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.2209, allocations: 265.5 kB / 0.729 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2209, allocations: 4 kB / 0.729 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2209, allocations: 0 / 0.729 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2209, allocations: 0 / 0.729 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2221, allocations: 0.7372 MB / 0.7298 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2221, allocations: 0 / 0.7298 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2222, allocations: 31.98 kB / 0.7298 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2222, allocations: 0 / 0.7298 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2223, allocations: 7.984 kB / 0.7298 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2223, allocations: 7.938 kB / 0.7298 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2223, allocations: 0 / 0.7298 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.2228, allocations: 354.3 kB / 0.7301 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.223, allocations: 148.4 kB / 0.7303 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.223, allocations: 8 kB / 0.7303 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.2233, allocations: 19.98 kB / 0.7303 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.2233, allocations: 19.92 kB / 0.7303 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2233, allocations: 4 kB / 0.7303 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004895/0.2238, allocations: 422.8 kB / 0.7307 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2238, allocations: 0 / 0.7307 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007776/0.2246, allocations: 227.7 kB / 0.7309 GB, free: 12.91 MB / 0.5294 GB 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.001592/0.2262, allocations: 0.4961 MB / 0.7314 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008411/0.2271, allocations: 320.4 kB / 0.7317 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2271, allocations: 3.938 kB / 0.7317 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.2273, allocations: 88.02 kB / 0.7318 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.2287, allocations: 240.2 kB / 0.7321 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2301, allocations: 0.9538 MB / 0.733 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.2307, allocations: 0.8467 MB / 0.7338 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003655/0.2311, allocations: 112.6 kB / 0.7339 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.2312, allocations: 43.42 kB / 0.734 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2312, allocations: 0 / 0.734 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.01858/0.2498, allocations: 9.893 MB / 0.7436 GB, free: 156 kB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)