Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [/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.1499/0.1507, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02313/0.1739, allocations: 21.8 MB / 0.6154 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1887, allocations: 8.714 MB / 0.6239 GB, free: 6.969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1901, allocations: 27.75 kB / 0.6239 GB, free: 6.941 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.1915, allocations: 278.4 kB / 0.6242 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.1946, allocations: 0.8239 MB / 0.625 GB, free: 5.844 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.1969, allocations: 0.6849 MB / 0.6257 GB, free: 5.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002724/0.1996, allocations: 2.295 MB / 0.6279 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.2003, allocations: 453 kB / 0.6284 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2014, allocations: 0.6573 MB / 0.629 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.2021, allocations: 0.5523 MB / 0.6295 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.2021, allocations: 28 kB / 0.6296 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2034, allocations: 0.6943 MB / 0.6302 GB, free: 480 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.2036, allocations: 135.4 kB / 0.6304 GB, free: 344 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.204, allocations: 379.8 kB / 0.6307 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.2051, allocations: 1.028 MB / 0.6317 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2051, allocations: 0 / 0.6317 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2051, allocations: 0 / 0.6317 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2051, allocations: 0 / 0.6317 GB, free: 14.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001543/0.2067, allocations: 0.9346 MB / 0.6326 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2067, allocations: 8.031 kB / 0.6327 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.2078, allocations: 199.8 kB / 0.6328 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.2085, allocations: 0.4989 MB / 0.6333 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.2085, allocations: 40.98 kB / 0.6334 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.2086, allocations: 48 kB / 0.6334 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.2125, allocations: 1.131 MB / 0.6345 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2125, allocations: 0 / 0.6345 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.2126, allocations: 20 kB / 0.6345 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.2126, allocations: 15.94 kB / 0.6346 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/0.2164, allocations: 0.982 MB / 0.6355 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.22, allocations: 2.645 MB / 0.6381 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.2234, allocations: 0.8077 MB / 0.6389 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.2238, allocations: 126 kB / 0.639 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.2241, allocations: 129.1 kB / 0.6391 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2241, allocations: 42.48 kB / 0.6392 GB, free: 6.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.444e-06/0.2241, allocations: 0 / 0.6392 GB, free: 6.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.007245/0.2314, allocations: 1.492 MB / 0.6406 GB, free: 5.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.2315, allocations: 158.2 kB / 0.6408 GB, free: 5.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.2323, allocations: 0.6528 MB / 0.6414 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.2323, allocations: 33.7 kB / 0.6414 GB, free: 4.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.2326, allocations: 351.8 kB / 0.6418 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.2327, allocations: 63.12 kB / 0.6418 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.2328, allocations: 45.81 kB / 0.6419 GB, free: 4.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2329, allocations: 382.6 kB / 0.6423 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.234, allocations: 364.6 kB / 0.6426 GB, free: 3.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.2352, allocations: 0.4887 MB / 0.6431 GB, free: 2.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.2374, allocations: 0.7617 MB / 0.6438 GB, free: 2.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2374, allocations: 0 / 0.6438 GB, free: 2.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002564/0.24, allocations: 0.9138 MB / 0.6447 GB, free: 1.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.2401, allocations: 171.6 kB / 0.6449 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2402, allocations: 7.984 kB / 0.6449 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2402, allocations: 4 kB / 0.6449 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/0.2448, allocations: 0.8428 MB / 0.6457 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.2521, allocations: 4.871 MB / 0.6505 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2535, allocations: 199.2 kB / 0.6507 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2536, allocations: 23.98 kB / 0.6507 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2536, allocations: 4 kB / 0.6507 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008155/0.2545, allocations: 355.3 kB / 0.651 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2545, allocations: 4.375 kB / 0.651 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.2545, allocations: 8 kB / 0.651 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.2549, allocations: 115.8 kB / 0.6511 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.255, allocations: 7.938 kB / 0.6512 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.2556, allocations: 83.53 kB / 0.6512 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.2557, allocations: 16 kB / 0.6512 GB, free: 9.961 MB / 0.4981 GB 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.2562, allocations: 269.8 kB / 0.6515 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.2564, allocations: 67.16 kB / 0.6516 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.2589, allocations: 0.7 MB / 0.6523 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2589, allocations: 3.938 kB / 0.6523 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2589, allocations: 4 kB / 0.6523 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2589, allocations: 0 / 0.6523 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.2602, allocations: 0.7411 MB / 0.653 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2602, allocations: 0 / 0.653 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003862/0.2641, allocations: 0.7492 MB / 0.6537 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.2641, allocations: 4 kB / 0.6537 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.2642, allocations: 7.984 kB / 0.6537 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.2705, allocations: 4.749 MB / 0.6584 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2706, allocations: 0 / 0.6584 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.2731, allocations: 0.7832 MB / 0.6591 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.2736, allocations: 156.1 kB / 0.6593 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.2738, allocations: 8 kB / 0.6593 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.2749, allocations: 139.8 kB / 0.6594 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.275, allocations: 15.98 kB / 0.6594 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2751, allocations: 7.984 kB / 0.6594 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007359/0.2758, allocations: 459 kB / 0.6599 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2758, allocations: 0 / 0.6599 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001444/0.2773, allocations: 347.4 kB / 0.6602 GB, free: 272 kB / 0.4981 GB 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005483/0.2778, allocations: 192.5 kB / 0.6604 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007051/0.2849, allocations: 1.612 MB / 0.662 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.2849, allocations: 4 kB / 0.662 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007491/0.2924, allocations: 1.44 MB / 0.6634 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.2949, allocations: 365.1 kB / 0.6637 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.308, allocations: 3.176 MB / 0.6668 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.3086, allocations: 0.8941 MB / 0.6677 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008214/0.3095, allocations: 124.5 kB / 0.6678 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3097, allocations: 63.39 kB / 0.6679 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.3097, allocations: 0 / 0.6679 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.03041/0.3402, allocations: 14.32 MB / 0.6819 GB, free: 10.19 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: