Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00127/0.00127, allocations: 176.6 kB / 326.5 MB, free: 2.676 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.802/1.802, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008241/0.0008242, allocations: 86.31 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004407, allocations: 16.02 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01058/0.1962, allocations: 15.33 MB / 0.9117 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007798/0.2041, allocations: 7.449 MB / 0.919 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.2046, allocations: 19.81 kB / 0.919 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.2054, allocations: 218.9 kB / 0.9192 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.2065, allocations: 0.556 MB / 0.9198 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2078, allocations: 0.6129 MB / 0.9204 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.2088, allocations: 1.29 MB / 0.9216 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.2091, allocations: 287.7 kB / 0.9219 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.2096, allocations: 378.2 kB / 0.9223 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.2099, allocations: 310.5 kB / 0.9226 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.21, allocations: 16 kB / 0.9226 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.2108, allocations: 0.5848 MB / 0.9231 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.2109, allocations: 87.61 kB / 0.9232 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.2111, allocations: 202.8 kB / 0.9234 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.2116, allocations: 0.5261 MB / 0.9239 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2116, allocations: 0 / 0.9239 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2116, allocations: 4 kB / 0.9239 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2117, allocations: 0 / 0.9239 GB, free: 40.2 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008773/0.2125, allocations: 0.7359 MB / 0.9247 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2126, allocations: 8.031 kB / 0.9247 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.2127, allocations: 60.28 kB / 0.9247 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2131, allocations: 421 kB / 0.9251 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2131, allocations: 20.44 kB / 0.9251 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.2132, allocations: 28 kB / 0.9252 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.2135, allocations: 219.2 kB / 0.9254 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2135, allocations: 3.938 kB / 0.9254 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2136, allocations: 4 kB / 0.9254 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2136, allocations: 4 kB / 0.9254 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.2139, allocations: 181.6 kB / 0.9256 GB, free: 38.45 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.001236/0.2152, allocations: 0.9535 MB / 0.9265 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.2154, allocations: 138.6 kB / 0.9266 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.2156, allocations: 84.19 kB / 0.9267 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.2158, allocations: 328.4 kB / 0.927 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.2158, allocations: 38.55 kB / 0.9271 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.2158, allocations: 0 / 0.9271 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005406/0.2163, allocations: 253 kB / 0.9273 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2164, allocations: 55.41 kB / 0.9273 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.2167, allocations: 474 kB / 0.9278 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2168, allocations: 33.7 kB / 0.9278 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2169, allocations: 228.5 kB / 0.928 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2169, allocations: 39.36 kB / 0.9281 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.217, allocations: 29.7 kB / 0.9281 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.217, allocations: 358.7 kB / 0.9285 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2172, allocations: 71.95 kB / 0.9285 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2174, allocations: 154.7 kB / 0.9287 GB, free: 35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.2177, allocations: 181 kB / 0.9288 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2177, allocations: 0 / 0.9288 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004299/0.2182, allocations: 261 kB / 0.9291 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.2182, allocations: 109.3 kB / 0.9292 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2182, allocations: 7.984 kB / 0.9292 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2182, allocations: 0 / 0.9292 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2185, allocations: 51.91 kB / 0.9293 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2185, allocations: 7.938 kB / 0.9293 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2188, allocations: 47.66 kB / 0.9293 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2188, allocations: 12 kB / 0.9293 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/0.2188, allocations: 4 kB / 0.9293 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003579/0.2192, allocations: 187.7 kB / 0.9295 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.2192, allocations: 0 / 0.9295 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.2192, allocations: 4 kB / 0.9295 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2194, allocations: 52 kB / 0.9296 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-06/0.2194, allocations: 3.938 kB / 0.9296 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.2197, allocations: 47.75 kB / 0.9296 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2197, allocations: 8 kB / 0.9296 GB, free: 34.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001361/0.2199, allocations: 245 kB / 0.9298 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.2199, allocations: 43.44 kB / 0.9299 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.2204, allocations: 263.3 kB / 0.9301 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2204, allocations: 0 / 0.9301 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2204, allocations: 0 / 0.9301 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2204, allocations: 7.984 kB / 0.9301 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.2212, allocations: 0.7084 MB / 0.9308 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2212, allocations: 4 kB / 0.9308 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2213, allocations: 31.97 kB / 0.9309 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2214, allocations: 4 kB / 0.9309 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2214, allocations: 4 kB / 0.9309 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2214, allocations: 7.938 kB / 0.9309 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2214, allocations: 0 / 0.9309 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.2218, allocations: 350.3 kB / 0.9312 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.2219, allocations: 140.5 kB / 0.9314 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.2219, allocations: 8 kB / 0.9314 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2221, allocations: 23.91 kB / 0.9314 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2222, allocations: 15.98 kB / 0.9314 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2222, allocations: 4 kB / 0.9314 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002577/0.2225, allocations: 334.9 kB / 0.9317 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2225, allocations: 0 / 0.9317 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005402/0.223, allocations: 203.6 kB / 0.9319 GB, free: 31.52 MB / 0.6042 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 (16): * Single equations (assignments): 14 * 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.0009633/0.224, allocations: 472.5 kB / 0.9324 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.2246, allocations: 287.6 kB / 0.9326 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2246, allocations: 0 / 0.9326 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2247, allocations: 87.83 kB / 0.9327 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.2259, allocations: 233 kB / 0.933 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.2269, allocations: 0.8725 MB / 0.9338 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2271, allocations: 0.8155 MB / 0.9346 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.2272, allocations: 43.42 kB / 0.9346 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/0.2272, allocations: 0 / 0.9346 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.007992/0.2352, allocations: 7.367 MB / 0.9418 GB, free: 21.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)