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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7391/0.7391, allocations: 132.4 MB / 139.7 MB, free: 15.48 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.001045/0.001045, allocations: 170.4 kB / 171.6 MB, free: 2 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.3/1.3, allocations: 170.5 MB / 373.9 MB, free: 15.81 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.001742/0.001742, allocations: 120.8 kB / 444.5 MB, free: 9.34 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.5414/0.5414, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7787/1.32, allocations: 356.5 MB / 1.014 GB, free: 84.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.32, allocations: 94.69 kB / 1.014 GB, free: 84.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.9474/2.268, allocations: 279.5 MB / 1.287 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001298/2.268, allocations: 27.83 kB / 1.287 GB, free: 67.66 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.0031/2.271, allocations: 1.174 MB / 1.288 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/2.271, allocations: 12.02 kB / 1.288 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/2.273, allocations: 210.6 kB / 1.289 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/2.274, allocations: 0.6353 MB / 1.289 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/2.274, allocations: 20.22 kB / 1.289 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/2.275, allocations: 36 kB / 1.289 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009227/2.275, allocations: 414.5 kB / 1.29 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/2.276, allocations: 0.5877 MB / 1.29 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/2.276, allocations: 0 / 1.29 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/2.277, allocations: 4 kB / 1.29 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/2.277, allocations: 16 kB / 1.29 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/2.28, allocations: 2.772 MB / 1.293 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/2.281, allocations: 332 kB / 1.293 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/2.281, allocations: 154.7 kB / 1.293 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/2.282, allocations: 122.7 kB / 1.293 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/2.282, allocations: 287.4 kB / 1.294 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/2.282, allocations: 0 / 1.294 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.003477/2.285, allocations: 0.8485 MB / 1.295 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/2.286, allocations: 243.5 kB / 1.295 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/2.286, allocations: 0.5586 MB / 1.295 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/2.286, allocations: 33.7 kB / 1.295 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/2.287, allocations: 327.5 kB / 1.296 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/2.287, allocations: 83.67 kB / 1.296 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/2.287, allocations: 7.938 kB / 1.296 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/2.287, allocations: 322 kB / 1.296 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/2.287, allocations: 225.1 kB / 1.296 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/2.288, allocations: 408.2 kB / 1.297 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/2.288, allocations: 247.9 kB / 1.297 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.288, allocations: 3.938 kB / 1.297 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001254/2.289, allocations: 0.6462 MB / 1.298 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003582/2.29, allocations: 1.226 MB / 1.299 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/2.29, allocations: 4 kB / 1.299 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/2.29, allocations: 8 kB / 1.299 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/2.295, allocations: 0.9404 MB / 1.3 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/2.298, allocations: 2.113 MB / 1.302 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/2.299, allocations: 231.2 kB / 1.302 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/2.3, allocations: 27.98 kB / 1.302 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/2.3, allocations: 4 kB / 1.302 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008158/2.3, allocations: 407.2 kB / 1.302 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/2.3, allocations: 7.984 kB / 1.302 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/2.3, allocations: 7.938 kB / 1.302 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/2.301, allocations: 132.2 kB / 1.303 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/2.301, allocations: 8 kB / 1.303 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/2.302, allocations: 95.52 kB / 1.303 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/2.302, allocations: 27.98 kB / 1.303 GB, free: 51.13 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.000287/2.302, allocations: 160.4 kB / 1.303 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/2.303, allocations: 75.06 kB / 1.303 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/2.304, allocations: 471.4 kB / 1.303 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/2.304, allocations: 4 kB / 1.303 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.304, allocations: 4 kB / 1.303 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/2.304, allocations: 3.984 kB / 1.303 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/2.305, allocations: 0.8059 MB / 1.304 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/2.305, allocations: 0 / 1.304 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004498/2.31, allocations: 0.8586 MB / 1.305 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/2.31, allocations: 3.906 kB / 1.305 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/2.31, allocations: 15.98 kB / 1.305 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/2.315, allocations: 4.318 MB / 1.309 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.315, allocations: 0 / 1.309 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/2.316, allocations: 0.7594 MB / 1.31 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/2.316, allocations: 148.1 kB / 1.31 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/2.316, allocations: 7.938 kB / 1.31 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/2.318, allocations: 179.9 kB / 1.31 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/2.318, allocations: 35.8 kB / 1.31 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/2.318, allocations: 19.98 kB / 1.31 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005725/2.318, allocations: 427.1 kB / 1.311 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001741/2.32, allocations: 438.9 kB / 1.311 GB, free: 41.99 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.0009432/2.321, allocations: 381.7 kB / 1.311 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00835/2.329, allocations: 1.912 MB / 1.313 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/2.33, allocations: 256 / 1.313 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.009816/2.339, allocations: 1.812 MB / 1.315 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/2.341, allocations: 287.1 kB / 1.315 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/2.346, allocations: 1.385 MB / 1.317 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009315/2.347, allocations: 1.075 MB / 1.318 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/2.347, allocations: 0 / 1.318 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.03315/2.38, allocations: 17.15 MB / 1.335 GB, free: 18.06 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)