Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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.805/0.805, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001034/0.001034, allocations: 172.3 kB / 171.6 MB, free: 1.992 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.482/1.482, allocations: 170.5 MB / 373.9 MB, free: 24.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 110.7 kB / 444.4 MB, free: 2.945 MB / 362.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.1841/0.1842, allocations: 73.4 MB / 0.666 GB, free: 64.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.299, allocations: 358.2 MB / 1.016 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.299, allocations: 94.62 kB / 1.016 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.2957/1.595, allocations: 162.4 MB / 1.174 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.467e-05/1.595, allocations: 23.94 kB / 1.175 GB, free: 14.19 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00123/1.596, allocations: 0.8161 MB / 1.175 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.596, allocations: 8.031 kB / 1.175 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/1.597, allocations: 75.23 kB / 1.175 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/1.597, allocations: 461.4 kB / 1.176 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.597, allocations: 12 kB / 1.176 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/1.597, allocations: 23.94 kB / 1.176 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003353/1.598, allocations: 181.3 kB / 1.176 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/1.598, allocations: 341.2 kB / 1.176 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.598, allocations: 0 / 1.176 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/1.598, allocations: 0 / 1.176 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.598, allocations: 15.94 kB / 1.176 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/1.6, allocations: 2.133 MB / 1.178 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/1.6, allocations: 110.5 kB / 1.179 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/1.6, allocations: 40.86 kB / 1.179 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009904/1.601, allocations: 0.9842 MB / 1.18 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.601, allocations: 34.56 kB / 1.18 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/1.601, allocations: 4 kB / 1.18 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007735/1.602, allocations: 220.9 kB / 1.18 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/1.602, allocations: 106.8 kB / 1.18 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/1.603, allocations: 493.1 kB / 1.18 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.603, allocations: 25.7 kB / 1.18 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.603, allocations: 259.1 kB / 1.181 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/1.603, allocations: 43.39 kB / 1.181 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/1.603, allocations: 3.938 kB / 1.181 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/1.603, allocations: 358.8 kB / 1.181 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.603, allocations: 60 kB / 1.181 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.603, allocations: 272.7 kB / 1.181 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/1.604, allocations: 126.8 kB / 1.181 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.604, allocations: 0 / 1.181 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005043/1.604, allocations: 341.2 kB / 1.182 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003444/1.605, allocations: 1.656 MB / 1.183 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.605, allocations: 4 kB / 1.183 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.605, allocations: 11.91 kB / 1.183 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.605, allocations: 103.8 kB / 1.184 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.605, allocations: 8 kB / 1.184 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/1.606, allocations: 63.56 kB / 1.184 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/1.606, allocations: 23.98 kB / 1.184 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/1.606, allocations: 4 kB / 1.184 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003885/1.606, allocations: 239.4 kB / 1.184 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/1.606, allocations: 4 kB / 1.184 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/1.606, allocations: 8 kB / 1.184 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.606, allocations: 80.47 kB / 1.184 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.606, allocations: 11.94 kB / 1.184 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/1.607, allocations: 43.66 kB / 1.184 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/1.607, allocations: 16 kB / 1.184 GB, free: 3.754 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/1.607, allocations: 112.9 kB / 1.184 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/1.607, allocations: 47.44 kB / 1.184 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/1.607, allocations: 181.3 kB / 1.184 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.607, allocations: 4 kB / 1.184 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.607, allocations: 7.844 kB / 1.184 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.607, allocations: 0 / 1.184 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/1.608, allocations: 353.9 kB / 1.185 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.608, allocations: 4 kB / 1.185 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.608, allocations: 39.97 kB / 1.185 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.608, allocations: 3.906 kB / 1.185 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.608, allocations: 0 / 1.185 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.608, allocations: 0 / 1.185 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.608, allocations: 4 kB / 1.185 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004033/1.608, allocations: 322.8 kB / 1.185 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.608, allocations: 124.5 kB / 1.185 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/1.608, allocations: 0 / 1.185 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/1.609, allocations: 44.06 kB / 1.185 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/1.609, allocations: 15.84 kB / 1.185 GB, free: 2.426 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/1.609, allocations: 7.984 kB / 1.185 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003319/1.609, allocations: 366.9 kB / 1.186 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008725/1.61, allocations: 263.6 kB / 1.186 GB, free: 1.805 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007794/1.611, allocations: 388.8 kB / 1.186 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004986/1.611, allocations: 371.2 kB / 1.187 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.611, allocations: 0 / 1.187 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/1.612, allocations: 47.92 kB / 1.187 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/1.613, allocations: 208.8 kB / 1.187 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3276/1.94, allocations: 0.9124 MB / 1.188 GB, free: 213.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/1.941, allocations: 0.9106 MB / 1.189 GB, free: 212.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/1.941, allocations: 0 / 1.189 GB, free: 212.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.01907/1.96, allocations: 10.6 MB / 1.199 GB, free: 212.4 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)