Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8282/0.8282, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001301/0.001301, allocations: 186.7 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.957/1.957, allocations: 170.7 MB / 383.7 MB, free: 16.3 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 121.2 kB / 454.6 MB, free: 9.875 MB / 346.7 MB [/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.2275/0.2284, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.452, allocations: 357.3 MB / 1.03 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.453, allocations: 104.3 kB / 1.03 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9103/2.363, allocations: 281.2 MB / 1.305 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/2.363, allocations: 4 kB / 1.305 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-05/2.363, allocations: 33 kB / 1.305 GB, free: 115.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002365/2.366, allocations: 1.318 MB / 1.306 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/2.366, allocations: 7.75 kB / 1.306 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/2.366, allocations: 196.5 kB / 1.306 GB, free: 114 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/2.368, allocations: 0.635 MB / 1.307 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/2.368, allocations: 51.47 kB / 1.307 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/2.368, allocations: 72.86 kB / 1.307 GB, free: 113.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/2.372, allocations: 1.311 MB / 1.308 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/2.372, allocations: 0 / 1.308 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/2.372, allocations: 27.94 kB / 1.308 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/2.372, allocations: 18.48 kB / 1.308 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/2.376, allocations: 1.107 MB / 1.309 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/2.38, allocations: 2.982 MB / 1.312 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/2.384, allocations: 1.026 MB / 1.313 GB, free: 109 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/2.384, allocations: 113.5 kB / 1.314 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003435/2.388, allocations: 0.9195 MB / 1.314 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/2.388, allocations: 3.938 kB / 1.314 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00721/2.395, allocations: 1.974 MB / 1.316 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/2.395, allocations: 247.5 kB / 1.317 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/2.396, allocations: 0.7117 MB / 1.317 GB, free: 104.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/2.396, allocations: 37.7 kB / 1.317 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/2.396, allocations: 442.7 kB / 1.318 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/2.396, allocations: 88.55 kB / 1.318 GB, free: 104.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/2.396, allocations: 12 kB / 1.318 GB, free: 104.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/2.396, allocations: 329.9 kB / 1.318 GB, free: 104 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/2.398, allocations: 440.8 kB / 1.319 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/2.399, allocations: 0.6172 MB / 1.319 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/2.4, allocations: 490.2 kB / 1.32 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.4, allocations: 4 kB / 1.32 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002602/2.402, allocations: 1.184 MB / 1.321 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/2.403, allocations: 1.259 MB / 1.322 GB, free: 99.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.403, allocations: 4 kB / 1.322 GB, free: 99.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/2.403, allocations: 7.938 kB / 1.322 GB, free: 99.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/2.407, allocations: 0.8293 MB / 1.323 GB, free: 98.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/2.409, allocations: 2.103 MB / 1.325 GB, free: 96.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/2.411, allocations: 243 kB / 1.325 GB, free: 96.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/2.411, allocations: 27.98 kB / 1.325 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/2.411, allocations: 4 kB / 1.325 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/2.413, allocations: 0.6364 MB / 1.326 GB, free: 95.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/2.413, allocations: 4.406 kB / 1.326 GB, free: 95.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/2.413, allocations: 8 kB / 1.326 GB, free: 95.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/2.413, allocations: 131.8 kB / 1.326 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/2.413, allocations: 7.984 kB / 1.326 GB, free: 95.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/2.414, allocations: 115.4 kB / 1.326 GB, free: 95.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/2.414, allocations: 24 kB / 1.326 GB, free: 95.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005074/2.414, allocations: 364.2 kB / 1.326 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.415, allocations: 86.91 kB / 1.326 GB, free: 95.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/2.417, allocations: 0.9836 MB / 1.327 GB, free: 94.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/2.417, allocations: 7.984 kB / 1.327 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.417, allocations: 3.938 kB / 1.327 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.417, allocations: 0 / 1.327 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/2.418, allocations: 0.8894 MB / 1.328 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/2.418, allocations: 0 / 1.328 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004271/2.422, allocations: 0.7766 MB / 1.329 GB, free: 92.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/2.422, allocations: 0 / 1.329 GB, free: 92.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/2.422, allocations: 19.94 kB / 1.329 GB, free: 92.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/2.428, allocations: 4.815 MB / 1.334 GB, free: 87.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/2.428, allocations: 4.031 kB / 1.334 GB, free: 87.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/2.432, allocations: 1.49 MB / 1.335 GB, free: 85.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/2.432, allocations: 163.9 kB / 1.335 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/2.432, allocations: 15.94 kB / 1.335 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009976/2.433, allocations: 171.9 kB / 1.336 GB, free: 85.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/2.434, allocations: 39.94 kB / 1.336 GB, free: 85.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/2.434, allocations: 15.98 kB / 1.336 GB, free: 85.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006208/2.434, allocations: 0.5536 MB / 1.336 GB, free: 84.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/2.434, allocations: 0 / 1.336 GB, free: 84.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001335/2.436, allocations: 435.5 kB / 1.337 GB, free: 84.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (mot.int.y) * Number of discrete variables: 7 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 7 (mot.lowHys.y,mot.uppHys.y,ySet.last,ySet.nextEvent,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006561/2.436, allocations: 385.4 kB / 1.337 GB, free: 83.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006163/2.442, allocations: 1.859 MB / 1.339 GB, free: 82.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/2.442, allocations: 0 / 1.339 GB, free: 82.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/2.45, allocations: 1.545 MB / 1.34 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/2.452, allocations: 386.6 kB / 1.341 GB, free: 80.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/2.456, allocations: 2.092 MB / 1.343 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/2.457, allocations: 0.9885 MB / 1.344 GB, free: 76.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008103/2.457, allocations: 141.9 kB / 1.344 GB, free: 76.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/2.458, allocations: 63.39 kB / 1.344 GB, free: 76.74 MB / 0.6198 GB Notification: Performance of SimCode: time 1.153e-06/2.458, allocations: 0 / 1.344 GB, free: 76.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.02452/2.482, allocations: 17.76 MB / 1.361 GB, free: 59.09 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)