Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1993/0.2002, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02011/0.2203, allocations: 14.93 MB / 0.6087 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2316, allocations: 6.61 MB / 0.6151 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.2325, allocations: 19.81 kB / 0.6152 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.2338, allocations: 254.8 kB / 0.6154 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.2359, allocations: 0.5087 MB / 0.6159 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.2381, allocations: 0.5445 MB / 0.6164 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.2403, allocations: 1.415 MB / 0.6178 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/0.241, allocations: 285.6 kB / 0.6181 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.242, allocations: 434.1 kB / 0.6185 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000822/0.2429, allocations: 350.4 kB / 0.6188 GB, free: 12.17 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.243, allocations: 16 kB / 0.6189 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.2443, allocations: 0.4993 MB / 0.6193 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.2445, allocations: 99.53 kB / 0.6194 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.245, allocations: 264.3 kB / 0.6197 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2463, allocations: 0.732 MB / 0.6204 GB, free: 10.56 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2464, allocations: 7.984 kB / 0.6204 GB, free: 10.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2464, allocations: 0 / 0.6204 GB, free: 10.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.2464, allocations: 0 / 0.6204 GB, free: 10.55 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001583/0.248, allocations: 0.7478 MB / 0.6211 GB, free: 9.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.248, allocations: 8.031 kB / 0.6211 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.2484, allocations: 64.28 kB / 0.6212 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.2493, allocations: 412.8 kB / 0.6216 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.2493, allocations: 24.66 kB / 0.6216 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.2494, allocations: 32 kB / 0.6217 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.251, allocations: 0.5477 MB / 0.6222 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.251, allocations: 0 / 0.6222 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.2511, allocations: 12 kB / 0.6222 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.2511, allocations: 12 kB / 0.6222 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.2525, allocations: 395.5 kB / 0.6226 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.2551, allocations: 2.034 MB / 0.6246 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2563, allocations: 311.5 kB / 0.6249 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2565, allocations: 58.67 kB / 0.6249 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2565, allocations: 0 / 0.6249 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2566, allocations: 42.5 kB / 0.625 GB, free: 5.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2566, allocations: 0 / 0.625 GB, free: 5.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.002543/0.2591, allocations: 0.5323 MB / 0.6255 GB, free: 5.031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2592, allocations: 162.2 kB / 0.6256 GB, free: 4.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.26, allocations: 0.5182 MB / 0.6262 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2601, allocations: 33.7 kB / 0.6262 GB, free: 4.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.2603, allocations: 275.5 kB / 0.6264 GB, free: 3.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.2604, allocations: 35.55 kB / 0.6265 GB, free: 3.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.2604, allocations: 33.64 kB / 0.6265 GB, free: 3.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2606, allocations: 354.8 kB / 0.6269 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.2611, allocations: 139.9 kB / 0.627 GB, free: 3.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.2617, allocations: 289.8 kB / 0.6273 GB, free: 3.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.2626, allocations: 352.8 kB / 0.6276 GB, free: 2.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2626, allocations: 4 kB / 0.6276 GB, free: 2.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00125/0.2639, allocations: 428.7 kB / 0.628 GB, free: 2.266 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.264, allocations: 181.2 kB / 0.6282 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2641, allocations: 4 kB / 0.6282 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2641, allocations: 4 kB / 0.6282 GB, free: 2.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.2645, allocations: 95.88 kB / 0.6283 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.2646, allocations: 8.141 kB / 0.6283 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.2652, allocations: 91.47 kB / 0.6284 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2652, allocations: 12 kB / 0.6284 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.2652, allocations: 4 kB / 0.6284 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004705/0.2657, allocations: 232.1 kB / 0.6286 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2657, allocations: 4 kB / 0.6286 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.2657, allocations: 4.375 kB / 0.6286 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.266, allocations: 63.91 kB / 0.6287 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.266, allocations: 7.938 kB / 0.6287 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2664, allocations: 47.72 kB / 0.6287 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.2664, allocations: 12 kB / 0.6287 GB, free: 1.469 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 31 * 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.0002734/0.2667, allocations: 249.9 kB / 0.629 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.2668, allocations: 43.44 kB / 0.629 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.2678, allocations: 297.3 kB / 0.6293 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2678, allocations: 3.938 kB / 0.6293 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2678, allocations: 0 / 0.6293 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2678, allocations: 4 kB / 0.6293 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.2686, allocations: 0.5851 MB / 0.6299 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2686, allocations: 11.94 kB / 0.6299 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.2689, allocations: 47.95 kB / 0.6299 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2689, allocations: 0 / 0.6299 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.269, allocations: 8 kB / 0.63 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.269, allocations: 4.062 kB / 0.63 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.269, allocations: 3.938 kB / 0.63 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000958/0.2699, allocations: 400.4 kB / 0.6303 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2701, allocations: 136.4 kB / 0.6305 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.2702, allocations: 4 kB / 0.6305 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.2706, allocations: 51.95 kB / 0.6305 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2707, allocations: 11.92 kB / 0.6305 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2707, allocations: 4 kB / 0.6305 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.2712, allocations: 366.8 kB / 0.6309 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2712, allocations: 0 / 0.6309 GB, free: 15.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.272, allocations: 203.7 kB / 0.6311 GB, free: 14.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0009557/0.2729, allocations: 418.5 kB / 0.6315 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2742, allocations: 404.2 kB / 0.6319 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2743, allocations: 0.75 kB / 0.6319 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.2747, allocations: 124 kB / 0.632 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.2763, allocations: 263.6 kB / 0.6322 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.2821, allocations: 1.571 MB / 0.6338 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.2825, allocations: 0.8272 MB / 0.6346 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.283, allocations: 87.5 kB / 0.6347 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2831, allocations: 47.41 kB / 0.6347 GB, free: 11.35 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2831, allocations: 0 / 0.6347 GB, free: 11.35 MB / 494.1 MB Notification: Performance of Templates: time 0.01734/0.3005, allocations: 8.807 MB / 0.6433 GB, free: 2.672 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: