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.6759/0.6759, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.0009768/0.0009771, allocations: 171.8 kB / 176.9 MB, free: 2.289 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.127/1.127, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001447/0.001447, allocations: 119.2 kB / 450 MB, free: 5.863 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.4074/0.4074, allocations: 73.39 MB / 0.6736 GB, free: 47.63 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6749/1.082, allocations: 357.2 MB / 1.022 GB, free: 42.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.083, allocations: 100 kB / 1.023 GB, free: 42.35 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8057/1.888, allocations: 280.4 MB / 1.296 GB, free: 69.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/1.888, allocations: 0 / 1.296 GB, free: 69.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.118e-05/1.889, allocations: 31.98 kB / 1.296 GB, free: 69.7 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.001752/1.89, allocations: 1.167 MB / 1.298 GB, free: 68.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.89, allocations: 11.97 kB / 1.298 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/1.891, allocations: 198.7 kB / 1.298 GB, free: 68.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/1.892, allocations: 0.6289 MB / 1.298 GB, free: 67.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/1.892, allocations: 49.31 kB / 1.298 GB, free: 67.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/1.892, allocations: 64 kB / 1.298 GB, free: 67.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.895, allocations: 1.097 MB / 1.3 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.895, allocations: 3.938 kB / 1.3 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/1.895, allocations: 31.92 kB / 1.3 GB, free: 66.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.895, allocations: 23.98 kB / 1.3 GB, free: 66.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/1.898, allocations: 0.8664 MB / 1.3 GB, free: 65.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/1.902, allocations: 2.963 MB / 1.303 GB, free: 62.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/1.904, allocations: 0.7612 MB / 1.304 GB, free: 61.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.904, allocations: 158.7 kB / 1.304 GB, free: 61.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/1.905, allocations: 117.3 kB / 1.304 GB, free: 61.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/1.907, allocations: 0.7068 MB / 1.305 GB, free: 60.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/1.907, allocations: 0 / 1.305 GB, free: 60.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.004968/1.912, allocations: 1.311 MB / 1.306 GB, free: 59.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.912, allocations: 243.5 kB / 1.307 GB, free: 58.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/1.913, allocations: 0.7157 MB / 1.307 GB, free: 58.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/1.913, allocations: 41.64 kB / 1.307 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/1.913, allocations: 436.3 kB / 1.308 GB, free: 57.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/1.913, allocations: 90.73 kB / 1.308 GB, free: 57.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/1.913, allocations: 12 kB / 1.308 GB, free: 57.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/1.913, allocations: 326 kB / 1.308 GB, free: 57.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/1.914, allocations: 229.1 kB / 1.308 GB, free: 57.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/1.914, allocations: 420.3 kB / 1.309 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/1.914, allocations: 281.4 kB / 1.309 GB, free: 56.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.914, allocations: 224 / 1.309 GB, free: 56.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001027/1.916, allocations: 0.77 MB / 1.31 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/1.916, allocations: 1.263 MB / 1.311 GB, free: 54.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.916, allocations: 4 kB / 1.311 GB, free: 54.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.916, allocations: 4 kB / 1.311 GB, free: 54.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/1.92, allocations: 0.8194 MB / 1.312 GB, free: 53.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/1.921, allocations: 1.988 MB / 1.314 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.923, allocations: 243 kB / 1.314 GB, free: 50.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/1.923, allocations: 35.92 kB / 1.314 GB, free: 50.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/1.923, allocations: 4 kB / 1.314 GB, free: 50.92 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007217/1.923, allocations: 0.5622 MB / 1.315 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.923, allocations: 4.406 kB / 1.315 GB, free: 50.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/1.923, allocations: 8 kB / 1.315 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.924, allocations: 131.8 kB / 1.315 GB, free: 50.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/1.924, allocations: 4 kB / 1.315 GB, free: 50.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/1.925, allocations: 123.2 kB / 1.315 GB, free: 50.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.925, allocations: 31.94 kB / 1.315 GB, free: 50.06 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 (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.0002097/1.925, allocations: 168.2 kB / 1.315 GB, free: 49.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.925, allocations: 86.97 kB / 1.315 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/1.926, allocations: 0.5842 MB / 1.316 GB, free: 49.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.926, allocations: 4 kB / 1.316 GB, free: 49.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.926, allocations: 0 / 1.316 GB, free: 49.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.926, allocations: 0 / 1.316 GB, free: 49.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/1.927, allocations: 0.8818 MB / 1.317 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.927, allocations: 0 / 1.317 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003762/1.931, allocations: 0.7804 MB / 1.317 GB, free: 47.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.931, allocations: 0 / 1.317 GB, free: 47.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/1.931, allocations: 19.94 kB / 1.317 GB, free: 47.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/1.934, allocations: 4.37 MB / 1.322 GB, free: 42.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.934, allocations: 8.016 kB / 1.322 GB, free: 42.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/1.936, allocations: 0.8749 MB / 1.322 GB, free: 41.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.936, allocations: 167.8 kB / 1.323 GB, free: 41.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.936, allocations: 8 kB / 1.323 GB, free: 41.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009736/1.937, allocations: 171.9 kB / 1.323 GB, free: 41.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.937, allocations: 39.88 kB / 1.323 GB, free: 41.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/1.937, allocations: 19.98 kB / 1.323 GB, free: 41.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006125/1.938, allocations: 0.5382 MB / 1.323 GB, free: 40.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/1.938, allocations: 0 / 1.323 GB, free: 40.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001226/1.939, allocations: 447.4 kB / 1.324 GB, free: 40.38 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.0006463/1.94, allocations: 372.4 kB / 1.324 GB, free: 40.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004324/1.944, allocations: 1.443 MB / 1.326 GB, free: 38.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.944, allocations: 8.062 kB / 1.326 GB, free: 38.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006179/1.95, allocations: 1.319 MB / 1.327 GB, free: 37.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.952, allocations: 393.1 kB / 1.327 GB, free: 36.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/1.955, allocations: 1.307 MB / 1.328 GB, free: 35.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/1.956, allocations: 0.9901 MB / 1.329 GB, free: 34.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000879/1.956, allocations: 200.9 kB / 1.33 GB, free: 34.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/1.957, allocations: 55.41 kB / 1.33 GB, free: 34.21 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/1.957, allocations: 4 kB / 1.33 GB, free: 34.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.02476/1.981, allocations: 19.67 MB / 1.349 GB, free: 14.59 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)