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.8074/0.8074, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.00155/0.00155, allocations: 169.8 kB / 171.8 MB, free: 1.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.557/1.557, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001786/0.001786, allocations: 127.6 kB / 444.8 MB, free: 9.223 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.462/0.4621, allocations: 73.39 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7638/1.226, allocations: 356.5 MB / 1.015 GB, free: 49.81 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.226, allocations: 95.69 kB / 1.015 GB, free: 49.76 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9085/2.135, allocations: 278.1 MB / 1.286 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/2.135, allocations: 0 / 1.286 GB, free: 82.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001073/2.135, allocations: 27.83 kB / 1.286 GB, free: 82.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.002684/2.138, allocations: 1.179 MB / 1.288 GB, free: 80.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/2.138, allocations: 8.031 kB / 1.288 GB, free: 80.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/2.139, allocations: 202.6 kB / 1.288 GB, free: 80.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/2.14, allocations: 0.6231 MB / 1.288 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/2.14, allocations: 16 kB / 1.288 GB, free: 80.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/2.14, allocations: 40 kB / 1.288 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006734/2.141, allocations: 410.5 kB / 1.289 GB, free: 79.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/2.142, allocations: 0.5835 MB / 1.289 GB, free: 78.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/2.142, allocations: 0 / 1.289 GB, free: 78.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/2.142, allocations: 8 kB / 1.289 GB, free: 78.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/2.142, allocations: 19.98 kB / 1.289 GB, free: 78.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/2.145, allocations: 2.835 MB / 1.292 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/2.146, allocations: 345 kB / 1.293 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/2.146, allocations: 150.7 kB / 1.293 GB, free: 75.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/2.146, allocations: 113.2 kB / 1.293 GB, free: 75.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/2.146, allocations: 290.1 kB / 1.293 GB, free: 75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 2.465e-06/2.147, allocations: 0 / 1.293 GB, free: 75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00311/2.15, allocations: 0.8742 MB / 1.294 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/2.15, allocations: 239.5 kB / 1.294 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/2.15, allocations: 0.5549 MB / 1.295 GB, free: 73.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/2.15, allocations: 29.7 kB / 1.295 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/2.151, allocations: 447.5 kB / 1.295 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/2.151, allocations: 82.81 kB / 1.295 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/2.151, allocations: 8.062 kB / 1.295 GB, free: 72.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/2.151, allocations: 333.9 kB / 1.296 GB, free: 72.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/2.151, allocations: 217.1 kB / 1.296 GB, free: 72.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/2.151, allocations: 411.1 kB / 1.296 GB, free: 71.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/2.152, allocations: 236.6 kB / 1.296 GB, free: 71.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.152, allocations: 4 kB / 1.296 GB, free: 71.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001011/2.153, allocations: 0.6976 MB / 1.297 GB, free: 70.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/2.153, allocations: 1.262 MB / 1.298 GB, free: 69.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/2.153, allocations: 7.953 kB / 1.298 GB, free: 69.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/2.153, allocations: 4 kB / 1.298 GB, free: 69.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/2.158, allocations: 0.8662 MB / 1.299 GB, free: 68.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/2.159, allocations: 2.008 MB / 1.301 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/2.161, allocations: 215.3 kB / 1.301 GB, free: 66.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/2.161, allocations: 31.97 kB / 1.301 GB, free: 66.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/2.161, allocations: 4 kB / 1.301 GB, free: 66.18 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007362/2.162, allocations: 479.4 kB / 1.302 GB, free: 65.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/2.162, allocations: 4.406 kB / 1.302 GB, free: 65.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/2.162, allocations: 12 kB / 1.302 GB, free: 65.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/2.162, allocations: 127.8 kB / 1.302 GB, free: 65.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/2.162, allocations: 8 kB / 1.302 GB, free: 65.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/2.163, allocations: 91.52 kB / 1.302 GB, free: 65.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/2.163, allocations: 24 kB / 1.302 GB, free: 65.45 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * 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.0002163/2.163, allocations: 162.5 kB / 1.302 GB, free: 65.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/2.163, allocations: 71.16 kB / 1.302 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/2.164, allocations: 0.5305 MB / 1.303 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/2.164, allocations: 0 / 1.303 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.165, allocations: 4 kB / 1.303 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/2.165, allocations: 0 / 1.303 GB, free: 64.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/2.165, allocations: 0.8026 MB / 1.304 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.165, allocations: 4 kB / 1.304 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/2.17, allocations: 0.7804 MB / 1.304 GB, free: 63.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/2.17, allocations: 0 / 1.304 GB, free: 63.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/2.17, allocations: 11.98 kB / 1.304 GB, free: 63.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/2.174, allocations: 4.228 MB / 1.309 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.174, allocations: 4.031 kB / 1.309 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/2.175, allocations: 0.8188 MB / 1.309 GB, free: 57.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/2.176, allocations: 144.1 kB / 1.309 GB, free: 57.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/2.176, allocations: 15.94 kB / 1.309 GB, free: 57.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/2.177, allocations: 179.8 kB / 1.31 GB, free: 57.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/2.177, allocations: 31.89 kB / 1.31 GB, free: 57.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/2.177, allocations: 23.97 kB / 1.31 GB, free: 57.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006097/2.178, allocations: 423.1 kB / 1.31 GB, free: 56.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/2.178, allocations: 0 / 1.31 GB, free: 56.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001733/2.18, allocations: 447 kB / 1.311 GB, free: 56.35 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) * 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.0009356/2.181, allocations: 368.6 kB / 1.311 GB, free: 56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004932/2.186, allocations: 1.446 MB / 1.312 GB, free: 54.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/2.186, allocations: 3.938 kB / 1.312 GB, free: 54.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006466/2.192, allocations: 1.324 MB / 1.314 GB, free: 53.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/2.194, allocations: 297.7 kB / 1.314 GB, free: 52.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/2.198, allocations: 1.27 MB / 1.315 GB, free: 51.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/2.198, allocations: 0.9852 MB / 1.316 GB, free: 50.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001131/2.199, allocations: 175.3 kB / 1.316 GB, free: 50.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/2.2, allocations: 51.41 kB / 1.316 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/2.2, allocations: 0 / 1.316 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.02822/2.228, allocations: 15.57 MB / 1.332 GB, free: 34.87 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)