Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001033, allocations: 179.6 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008073/0.0008072, allocations: 90.25 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003266, allocations: 8.594 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2189, allocations: 106.4 MB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01169/0.2306, allocations: 16.1 MB / 0.9166 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007441/0.2381, allocations: 7.078 MB / 0.9235 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.2386, allocations: 15.88 kB / 0.9235 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.2392, allocations: 191 kB / 0.9237 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2403, allocations: 0.4974 MB / 0.9242 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2417, allocations: 0.5845 MB / 0.9247 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009414/0.2426, allocations: 1.093 MB / 0.9258 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.243, allocations: 265.8 kB / 0.9261 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.2434, allocations: 354.4 kB / 0.9264 GB, free: 38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.2437, allocations: 298.7 kB / 0.9267 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.2438, allocations: 16 kB / 0.9267 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.2447, allocations: 0.577 MB / 0.9273 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.2448, allocations: 123.5 kB / 0.9274 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.2448, allocations: 105.5 kB / 0.9275 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.2454, allocations: 0.5962 MB / 0.9281 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2454, allocations: 0 / 0.9281 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2454, allocations: 0 / 0.9281 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2454, allocations: 0 / 0.9281 GB, free: 36.29 MB / 0.6042 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.001025/0.2464, allocations: 0.8004 MB / 0.9288 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2465, allocations: 8.031 kB / 0.9288 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.2466, allocations: 59.34 kB / 0.9289 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.2471, allocations: 441.3 kB / 0.9293 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2472, allocations: 20.56 kB / 0.9293 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.2472, allocations: 35.94 kB / 0.9294 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.2477, allocations: 288.5 kB / 0.9296 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2477, allocations: 0 / 0.9296 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.2477, allocations: 8 kB / 0.9297 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2477, allocations: 8 kB / 0.9297 GB, free: 34.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.2481, allocations: 206.1 kB / 0.9299 GB, free: 34.33 MB / 0.6042 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.001423/0.2495, allocations: 1.289 MB / 0.9311 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.2499, allocations: 195.3 kB / 0.9313 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.25, allocations: 97.19 kB / 0.9314 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.2514, allocations: 1.312 MB / 0.9327 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2514, allocations: 42.48 kB / 0.9327 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.2514, allocations: 3.938 kB / 0.9327 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005979/0.252, allocations: 287.6 kB / 0.933 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.252, allocations: 59.39 kB / 0.9331 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.2525, allocations: 0.5691 MB / 0.9336 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2526, allocations: 33.7 kB / 0.9336 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.2527, allocations: 256.3 kB / 0.9339 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2527, allocations: 71.03 kB / 0.934 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.2528, allocations: 8 kB / 0.934 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.2528, allocations: 362.7 kB / 0.9343 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.253, allocations: 87.8 kB / 0.9344 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2533, allocations: 203.9 kB / 0.9346 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2535, allocations: 112.8 kB / 0.9347 GB, free: 28.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2535, allocations: 11.88 kB / 0.9347 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004884/0.254, allocations: 327.5 kB / 0.935 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.254, allocations: 148 kB / 0.9352 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.254, allocations: 4 kB / 0.9352 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2541, allocations: 0 / 0.9352 GB, free: 28.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.2543, allocations: 71.91 kB / 0.9352 GB, free: 28.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.2543, allocations: 4 kB / 0.9352 GB, free: 28.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2547, allocations: 51.66 kB / 0.9353 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.2547, allocations: 11.95 kB / 0.9353 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/0.2547, allocations: 4 kB / 0.9353 GB, free: 28.33 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004291/0.2552, allocations: 259.5 kB / 0.9355 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2552, allocations: 4 kB / 0.9356 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.2552, allocations: 4 kB / 0.9356 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2554, allocations: 68.03 kB / 0.9356 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.2554, allocations: 8 kB / 0.9356 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.2557, allocations: 43.72 kB / 0.9357 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2558, allocations: 12 kB / 0.9357 GB, free: 27.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.2559, allocations: 261 kB / 0.9359 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.256, allocations: 47.39 kB / 0.936 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.2565, allocations: 298.4 kB / 0.9363 GB, free: 27.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2565, allocations: 4 kB / 0.9363 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2566, allocations: 8 kB / 0.9363 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2566, allocations: 3.938 kB / 0.9363 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.2574, allocations: 0.7746 MB / 0.937 GB, free: 26.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2574, allocations: 4 kB / 0.937 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2576, allocations: 36.08 kB / 0.9371 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2576, allocations: 11.92 kB / 0.9371 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2576, allocations: 0 / 0.9371 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2576, allocations: 4 kB / 0.9371 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2576, allocations: 3.938 kB / 0.9371 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.2582, allocations: 493.3 kB / 0.9376 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2584, allocations: 156.5 kB / 0.9377 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.2585, allocations: 7.953 kB / 0.9377 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2587, allocations: 19.98 kB / 0.9377 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2587, allocations: 19.98 kB / 0.9378 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2588, allocations: 19.92 kB / 0.9378 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003446/0.2591, allocations: 406.8 kB / 0.9382 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2591, allocations: 0 / 0.9382 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006482/0.2598, allocations: 235.7 kB / 0.9384 GB, free: 25.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009685/0.2607, allocations: 486.7 kB / 0.9388 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.2614, allocations: 351.6 kB / 0.9392 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2614, allocations: 0 / 0.9392 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2616, allocations: 108.8 kB / 0.9393 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.2629, allocations: 264.8 kB / 0.9395 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2641, allocations: 1.076 MB / 0.9406 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2643, allocations: 0.843 MB / 0.9414 GB, free: 22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.2644, allocations: 43.42 kB / 0.9415 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2644, allocations: 0 / 0.9415 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.01055/0.275, allocations: 8.674 MB / 0.9499 GB, free: 13.33 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)