Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [/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.1709/0.1716, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01928/0.1909, allocations: 14.7 MB / 0.6077 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.202, allocations: 6.112 MB / 0.6137 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.2029, allocations: 15.88 kB / 0.6137 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.2041, allocations: 270.8 kB / 0.614 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.2058, allocations: 478.5 kB / 0.6144 GB, free: 404 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.2105, allocations: 1.487 MB / 0.6159 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2119, allocations: 0.6129 MB / 0.6165 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.2126, allocations: 286.7 kB / 0.6167 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.2136, allocations: 394.5 kB / 0.6171 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.2142, allocations: 239 kB / 0.6173 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.2143, allocations: 16 kB / 0.6174 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009601/0.2152, allocations: 407.4 kB / 0.6177 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.2155, allocations: 123.6 kB / 0.6179 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.2157, allocations: 129.4 kB / 0.618 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009545/0.2167, allocations: 0.5923 MB / 0.6186 GB, free: 12.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2167, allocations: 0 / 0.6186 GB, free: 12.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2167, allocations: 0 / 0.6186 GB, free: 12.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.2167, allocations: 0 / 0.6186 GB, free: 12.14 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001591/0.2183, allocations: 0.7981 MB / 0.6193 GB, free: 11.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2183, allocations: 12.03 kB / 0.6194 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.2187, allocations: 67.25 kB / 0.6194 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.2197, allocations: 445.4 kB / 0.6198 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2197, allocations: 24.66 kB / 0.6199 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.2198, allocations: 36 kB / 0.6199 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.221, allocations: 490.1 kB / 0.6204 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2211, allocations: 11.94 kB / 0.6204 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.2211, allocations: 20 kB / 0.6204 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2212, allocations: 8 kB / 0.6204 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2222, allocations: 341.8 kB / 0.6207 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.225, allocations: 2.2 MB / 0.6229 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.2257, allocations: 218.5 kB / 0.6231 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.2272, allocations: 0.9318 MB / 0.624 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2273, allocations: 30.56 kB / 0.624 GB, free: 6.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.2273, allocations: 0 / 0.624 GB, free: 6.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001513/0.2288, allocations: 396.7 kB / 0.6244 GB, free: 5.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.2289, allocations: 106.8 kB / 0.6245 GB, free: 5.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.2297, allocations: 0.6473 MB / 0.6251 GB, free: 4.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.2297, allocations: 25.7 kB / 0.6252 GB, free: 4.934 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.2299, allocations: 319.5 kB / 0.6255 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.23, allocations: 39.45 kB / 0.6255 GB, free: 4.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.23, allocations: 8 kB / 0.6255 GB, free: 4.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2302, allocations: 366.7 kB / 0.6259 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.2305, allocations: 119.9 kB / 0.626 GB, free: 4.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.231, allocations: 307.9 kB / 0.6263 GB, free: 3.707 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.2314, allocations: 150.5 kB / 0.6264 GB, free: 3.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2314, allocations: 4 kB / 0.6264 GB, free: 3.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008944/0.2323, allocations: 437 kB / 0.6268 GB, free: 3.125 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007492/0.2331, allocations: 1.659 MB / 0.6285 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2331, allocations: 4 kB / 0.6285 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2331, allocations: 15.94 kB / 0.6285 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.2335, allocations: 87.89 kB / 0.6286 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.2335, allocations: 15.92 kB / 0.6286 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.234, allocations: 83.36 kB / 0.6287 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.234, allocations: 16 kB / 0.6287 GB, free: 1.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.234, allocations: 4 kB / 0.6287 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000533/0.2346, allocations: 300.7 kB / 0.629 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2346, allocations: 4 kB / 0.629 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2346, allocations: 12.55 kB / 0.629 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2349, allocations: 79.91 kB / 0.6291 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2349, allocations: 15.92 kB / 0.6291 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.2352, allocations: 51.61 kB / 0.6291 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.2353, allocations: 16 kB / 0.6291 GB, free: 0.6445 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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.0002628/0.2355, allocations: 261 kB / 0.6294 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.2356, allocations: 59.3 kB / 0.6294 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.2363, allocations: 272.9 kB / 0.6297 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2363, allocations: 4 kB / 0.6297 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2363, allocations: 0 / 0.6297 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2364, allocations: 0 / 0.6297 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.237, allocations: 389.3 kB / 0.6301 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.237, allocations: 7.953 kB / 0.6301 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.2373, allocations: 43.95 kB / 0.6301 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2373, allocations: 0 / 0.6301 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2373, allocations: 4 kB / 0.6301 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2373, allocations: 4 kB / 0.6301 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2373, allocations: 0 / 0.6301 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.2383, allocations: 439 kB / 0.6306 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.2385, allocations: 140.5 kB / 0.6307 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.2386, allocations: 7.984 kB / 0.6307 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.2389, allocations: 31.97 kB / 0.6307 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2389, allocations: 7.984 kB / 0.6307 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.239, allocations: 8 kB / 0.6307 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005317/0.2395, allocations: 458.8 kB / 0.6312 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2395, allocations: 0 / 0.6312 GB, free: 14.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007946/0.2403, allocations: 239.7 kB / 0.6314 GB, free: 14.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001103/0.2414, allocations: 443.5 kB / 0.6318 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2425, allocations: 420 kB / 0.6322 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.2425, allocations: 4 kB / 0.6322 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.2428, allocations: 92.25 kB / 0.6323 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.2441, allocations: 270 kB / 0.6326 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.2476, allocations: 1.367 MB / 0.6339 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.248, allocations: 0.8627 MB / 0.6348 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.2485, allocations: 112.6 kB / 0.6349 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2486, allocations: 47.42 kB / 0.6349 GB, free: 10.75 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2486, allocations: 3.938 kB / 0.6349 GB, free: 10.74 MB / 494.1 MB Notification: Performance of Templates: time 0.01799/0.2666, allocations: 9.876 MB / 0.6446 GB, free: 1.02 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: