Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.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.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization") [: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.7225/0.7225, allocations: 132.4 MB / 139.7 MB, free: 15.61 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.001187/0.001187, allocations: 171 kB / 171.6 MB, free: 1.988 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.343/1.343, allocations: 170.5 MB / 373.9 MB, free: 15.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.001678/0.001678, allocations: 112.9 kB / 444.4 MB, free: 9.441 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.491/0.491, allocations: 73.39 MB / 0.666 GB, free: 62.63 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7509/1.242, allocations: 353 MB / 1.011 GB, free: 88.01 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.242, allocations: 90.28 kB / 1.011 GB, free: 87.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.9496/2.192, allocations: 293 MB / 1.297 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.098e-05/2.192, allocations: 17.25 kB / 1.297 GB, free: 57.63 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002311/2.194, allocations: 0.924 MB / 1.298 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/2.195, allocations: 8.031 kB / 1.298 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/2.195, allocations: 91.05 kB / 1.298 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/2.196, allocations: 492.5 kB / 1.298 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/2.196, allocations: 80.41 kB / 1.299 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/2.196, allocations: 32 kB / 1.299 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005075/2.197, allocations: 229.9 kB / 1.299 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/2.198, allocations: 436.9 kB / 1.299 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/2.198, allocations: 7.938 kB / 1.299 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/2.198, allocations: 4 kB / 1.299 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/2.198, allocations: 12 kB / 1.299 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/2.201, allocations: 2.627 MB / 1.302 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/2.201, allocations: 115.8 kB / 1.302 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/2.201, allocations: 58.58 kB / 1.302 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/2.201, allocations: 7.922 kB / 1.302 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/2.201, allocations: 42.5 kB / 1.302 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/2.201, allocations: 4 kB / 1.302 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001107/2.202, allocations: 261 kB / 1.302 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/2.202, allocations: 162.3 kB / 1.302 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/2.203, allocations: 398.2 kB / 1.303 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/2.203, allocations: 29.7 kB / 1.303 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/2.203, allocations: 275.3 kB / 1.303 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/2.203, allocations: 51.3 kB / 1.303 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/2.203, allocations: 0 / 1.303 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/2.203, allocations: 359.2 kB / 1.303 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/2.203, allocations: 76.75 kB / 1.304 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/2.203, allocations: 244.2 kB / 1.304 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/2.204, allocations: 114.7 kB / 1.304 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/2.204, allocations: 0 / 1.304 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000542/2.204, allocations: 322.4 kB / 1.304 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004615/2.205, allocations: 1.227 MB / 1.305 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/2.205, allocations: 8 kB / 1.305 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/2.205, allocations: 4 kB / 1.305 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/2.209, allocations: 0.8195 MB / 1.306 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/2.212, allocations: 2.109 MB / 1.308 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/2.212, allocations: 91.66 kB / 1.308 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/2.213, allocations: 19.98 kB / 1.308 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/2.213, allocations: 11.84 kB / 1.308 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003523/2.213, allocations: 212.3 kB / 1.309 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/2.213, allocations: 12.12 kB / 1.309 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/2.213, allocations: 7.938 kB / 1.309 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/2.213, allocations: 95.89 kB / 1.309 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/2.213, allocations: 11.98 kB / 1.309 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/2.214, allocations: 63.69 kB / 1.309 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/2.214, allocations: 16 kB / 1.309 GB, free: 44.88 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.000168/2.214, allocations: 122.9 kB / 1.309 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/2.214, allocations: 43.44 kB / 1.309 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/2.214, allocations: 44.03 kB / 1.309 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/2.214, allocations: 7.906 kB / 1.309 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/2.214, allocations: 0 / 1.309 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/2.214, allocations: 4 kB / 1.309 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/2.215, allocations: 0.6159 MB / 1.31 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/2.215, allocations: 4.062 kB / 1.31 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003905/2.219, allocations: 0.7298 MB / 1.31 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/2.219, allocations: 4 kB / 1.31 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/2.219, allocations: 3.984 kB / 1.31 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/2.224, allocations: 4.317 MB / 1.315 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.224, allocations: 0 / 1.315 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004388/2.225, allocations: 292 kB / 1.315 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/2.225, allocations: 128.4 kB / 1.315 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/2.225, allocations: 8.047 kB / 1.315 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/2.226, allocations: 79.92 kB / 1.315 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/2.226, allocations: 11.89 kB / 1.315 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/2.226, allocations: 15.98 kB / 1.315 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003774/2.226, allocations: 291 kB / 1.315 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001375/2.227, allocations: 332 kB / 1.316 GB, free: 37.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0008033/2.228, allocations: 362.4 kB / 1.316 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008022/2.236, allocations: 1.49 MB / 1.317 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/2.236, allocations: 1 kB / 1.317 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.009709/2.246, allocations: 1.642 MB / 1.319 GB, free: 33.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/2.248, allocations: 225.7 kB / 1.319 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/2.251, allocations: 0.9633 MB / 1.32 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/2.252, allocations: 0.9339 MB / 1.321 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/2.252, allocations: 0 / 1.321 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.02724/2.279, allocations: 11.06 MB / 1.332 GB, free: 20.84 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)