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.498/1.498, allocations: 252 MB / 267.6 MB, free: 10.93 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.001117/0.001117, allocations: 186 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.648/1.648, 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.0007441/0.0007441, allocations: 98.17 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 9.938 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 106.4 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01134/0.2133, allocations: 14.37 MB / 0.9149 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008805/0.2222, allocations: 6.677 MB / 0.9214 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.2229, allocations: 19.81 kB / 0.9214 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.2238, allocations: 198.9 kB / 0.9216 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.225, allocations: 493.4 kB / 0.9221 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2266, allocations: 0.5826 MB / 0.9226 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.2276, allocations: 1.118 MB / 0.9237 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.2279, allocations: 258.4 kB / 0.924 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.2284, allocations: 362.4 kB / 0.9243 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.2287, allocations: 294.7 kB / 0.9246 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.2288, allocations: 12 kB / 0.9246 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.2296, allocations: 0.5379 MB / 0.9251 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.2297, allocations: 75.67 kB / 0.9252 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.2298, allocations: 105.5 kB / 0.9253 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.2303, allocations: 0.5105 MB / 0.9258 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2304, allocations: 0 / 0.9258 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2304, allocations: 4 kB / 0.9258 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.2304, allocations: 0 / 0.9258 GB, free: 38.64 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.0009717/0.2314, allocations: 0.7435 MB / 0.9265 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2314, allocations: 8.031 kB / 0.9266 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.2315, allocations: 63.28 kB / 0.9266 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.232, allocations: 389 kB / 0.927 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.232, allocations: 20.44 kB / 0.927 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.2321, allocations: 24 kB / 0.927 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.2325, allocations: 219.2 kB / 0.9272 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2325, allocations: 3.984 kB / 0.9272 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.2325, allocations: 8 kB / 0.9272 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2325, allocations: 8 kB / 0.9273 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.2329, allocations: 169.6 kB / 0.9274 GB, free: 36.91 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.001414/0.2343, allocations: 0.9574 MB / 0.9283 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2345, allocations: 130.6 kB / 0.9285 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2347, allocations: 72.81 kB / 0.9285 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.2349, allocations: 336.4 kB / 0.9289 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2349, allocations: 34.56 kB / 0.9289 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.166e-06/0.2349, allocations: 0 / 0.9289 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005579/0.2355, allocations: 262.7 kB / 0.9291 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2355, allocations: 51.41 kB / 0.9292 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.2359, allocations: 466 kB / 0.9296 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2359, allocations: 33.7 kB / 0.9297 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2361, allocations: 228.6 kB / 0.9299 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.2361, allocations: 51.27 kB / 0.9299 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.2361, allocations: 4 kB / 0.9299 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2362, allocations: 350.8 kB / 0.9303 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2363, allocations: 67.95 kB / 0.9303 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2366, allocations: 158.7 kB / 0.9305 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2368, allocations: 83.86 kB / 0.9306 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2368, allocations: 0 / 0.9306 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004243/0.2372, allocations: 264.9 kB / 0.9308 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.2372, allocations: 109 kB / 0.9309 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2373, allocations: 3.938 kB / 0.9309 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.2373, allocations: 8 kB / 0.9309 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.2375, allocations: 47.91 kB / 0.931 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2375, allocations: 3.984 kB / 0.931 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.2379, allocations: 51.64 kB / 0.931 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2379, allocations: 16 kB / 0.9311 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.2379, allocations: 4 kB / 0.9311 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003487/0.2383, allocations: 183.8 kB / 0.9312 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.2383, allocations: 0 / 0.9312 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.2383, allocations: 4 kB / 0.9312 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.2385, allocations: 51.91 kB / 0.9313 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.2385, allocations: 4 kB / 0.9313 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.2388, allocations: 39.72 kB / 0.9313 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2388, allocations: 19.98 kB / 0.9314 GB, free: 32.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.239, allocations: 237 kB / 0.9316 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.239, allocations: 47.48 kB / 0.9316 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.2395, allocations: 261 kB / 0.9319 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2395, allocations: 4 kB / 0.9319 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2395, allocations: 0 / 0.9319 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2395, allocations: 0 / 0.9319 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.2403, allocations: 0.7045 MB / 0.9326 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2403, allocations: 0 / 0.9326 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2404, allocations: 35.92 kB / 0.9326 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2404, allocations: 0 / 0.9326 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2405, allocations: 4 kB / 0.9326 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2405, allocations: 3.984 kB / 0.9326 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2405, allocations: 4 kB / 0.9326 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.2409, allocations: 364.9 kB / 0.933 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.241, allocations: 140.5 kB / 0.9331 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.241, allocations: 8 kB / 0.9331 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2412, allocations: 23.88 kB / 0.9331 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.2413, allocations: 19.98 kB / 0.9331 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2413, allocations: 4 kB / 0.9331 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002548/0.2416, allocations: 326.9 kB / 0.9335 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2416, allocations: 0 / 0.9335 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005579/0.2421, allocations: 203.6 kB / 0.9336 GB, free: 30.12 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 (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.0009596/0.2431, allocations: 485.2 kB / 0.9341 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005741/0.2437, allocations: 282.1 kB / 0.9344 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2437, allocations: 0 / 0.9344 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2439, allocations: 83.89 kB / 0.9345 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.2451, allocations: 229.8 kB / 0.9347 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2462, allocations: 0.8564 MB / 0.9355 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2464, allocations: 0.8233 MB / 0.9363 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.2465, allocations: 39.44 kB / 0.9364 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2465, allocations: 0 / 0.9364 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.008748/0.2552, allocations: 7.375 MB / 0.9436 GB, free: 20.08 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)