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.8002/0.8002, allocations: 132.4 MB / 139.9 MB, free: 2.816 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009564/0.0009565, allocations: 178.8 kB / 171.8 MB, free: 4.918 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.229/1.229, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001525/0.001525, allocations: 99.81 kB / 444.8 MB, free: 14.17 MB / 314.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.1838/0.1839, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.464, allocations: 356.5 MB / 1.015 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.464, allocations: 95.62 kB / 1.015 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/2.51, allocations: 278.1 MB / 1.286 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/2.511, allocations: 0 / 1.286 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001288/2.511, allocations: 27.14 kB / 1.286 GB, free: 80.97 MB / 0.6042 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.003422/2.514, allocations: 1.158 MB / 1.288 GB, free: 79.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/2.514, allocations: 12.03 kB / 1.288 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/2.515, allocations: 202.6 kB / 1.288 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/2.517, allocations: 0.6348 MB / 1.288 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/2.517, allocations: 16 kB / 1.288 GB, free: 78.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/2.517, allocations: 40.22 kB / 1.288 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008573/2.518, allocations: 402.5 kB / 1.289 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/2.519, allocations: 0.5987 MB / 1.289 GB, free: 77.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/2.519, allocations: 0 / 1.289 GB, free: 77.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/2.519, allocations: 7.938 kB / 1.289 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/2.519, allocations: 24 kB / 1.289 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/2.524, allocations: 2.82 MB / 1.292 GB, free: 74.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/2.524, allocations: 338.1 kB / 1.293 GB, free: 74.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/2.525, allocations: 155 kB / 1.293 GB, free: 74.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/2.525, allocations: 116.5 kB / 1.293 GB, free: 74.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/2.525, allocations: 298.4 kB / 1.293 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/2.525, allocations: 3.984 kB / 1.293 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.00324/2.528, allocations: 0.872 MB / 1.294 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/2.529, allocations: 235.5 kB / 1.294 GB, free: 72.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/2.529, allocations: 0.5586 MB / 1.295 GB, free: 72.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/2.529, allocations: 29.7 kB / 1.295 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/2.53, allocations: 435.6 kB / 1.295 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/2.53, allocations: 86.75 kB / 1.295 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/2.53, allocations: 0 / 1.295 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/2.53, allocations: 342.1 kB / 1.296 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/2.53, allocations: 217.1 kB / 1.296 GB, free: 71.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/2.531, allocations: 416.4 kB / 1.296 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/2.531, allocations: 232.8 kB / 1.296 GB, free: 70.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.531, allocations: 4 kB / 1.296 GB, free: 70.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001192/2.532, allocations: 0.7054 MB / 1.297 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000306/2.533, allocations: 1.264 MB / 1.298 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/2.533, allocations: 4 kB / 1.298 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/2.533, allocations: 4 kB / 1.298 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/2.537, allocations: 0.8662 MB / 1.299 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/2.539, allocations: 2.004 MB / 1.301 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/2.541, allocations: 211.3 kB / 1.301 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/2.541, allocations: 31.98 kB / 1.301 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/2.541, allocations: 4 kB / 1.301 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008032/2.541, allocations: 479.4 kB / 1.302 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/2.541, allocations: 4 kB / 1.302 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/2.542, allocations: 12.39 kB / 1.302 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/2.542, allocations: 123.8 kB / 1.302 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/2.542, allocations: 15.92 kB / 1.302 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/2.543, allocations: 87.53 kB / 1.302 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/2.543, allocations: 27.98 kB / 1.302 GB, free: 64.31 MB / 0.6042 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.0002713/2.543, allocations: 165.8 kB / 1.302 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/2.543, allocations: 71.16 kB / 1.302 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/2.545, allocations: 0.522 MB / 1.303 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.545, allocations: 0 / 1.303 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/2.545, allocations: 4 kB / 1.303 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/2.545, allocations: 0 / 1.303 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/2.546, allocations: 0.8145 MB / 1.304 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/2.546, allocations: 4 kB / 1.304 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/2.55, allocations: 0.7688 MB / 1.304 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/2.55, allocations: 7.984 kB / 1.304 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/2.55, allocations: 11.98 kB / 1.304 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/2.554, allocations: 4.228 MB / 1.309 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/2.554, allocations: 11.92 kB / 1.309 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/2.556, allocations: 0.8097 MB / 1.309 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/2.556, allocations: 152.1 kB / 1.309 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/2.556, allocations: 8 kB / 1.309 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/2.557, allocations: 171.8 kB / 1.31 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/2.557, allocations: 39.88 kB / 1.31 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/2.557, allocations: 23.98 kB / 1.31 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006561/2.558, allocations: 427.1 kB / 1.31 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.558, allocations: 0 / 1.31 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001889/2.56, allocations: 438.8 kB / 1.311 GB, free: 55.21 MB / 0.6042 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.0009329/2.561, allocations: 380.2 kB / 1.311 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00495/2.566, allocations: 1.442 MB / 1.312 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/2.566, allocations: 0 / 1.312 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006379/2.572, allocations: 1.312 MB / 1.314 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/2.574, allocations: 291.4 kB / 1.314 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/2.579, allocations: 1.284 MB / 1.315 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/2.579, allocations: 0.9889 MB / 1.316 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001314/2.581, allocations: 171.3 kB / 1.316 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/2.581, allocations: 55.39 kB / 1.316 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/2.581, allocations: 0 / 1.316 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.02809/2.609, allocations: 15.59 MB / 1.332 GB, free: 33.71 MB / 0.6042 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)