Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.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.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") [: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.8332/0.8332, 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.001751/0.001751, allocations: 170.7 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.612/1.612, allocations: 170.5 MB / 373.8 MB, free: 15.88 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.00195/0.001949, allocations: 106.5 kB / 444.4 MB, free: 9.43 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.6038/0.6038, allocations: 73.4 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8115/1.415, allocations: 336.5 MB / 0.9946 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.416, allocations: 91.44 kB / 0.9947 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.9818/2.398, allocations: 301.2 MB / 1.289 GB, free: 93.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.002e-05/2.398, allocations: 12 kB / 1.289 GB, free: 93.11 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001615/2.399, allocations: 0.8178 MB / 1.29 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/2.399, allocations: 8.031 kB / 1.29 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/2.4, allocations: 75.23 kB / 1.29 GB, free: 92.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/2.401, allocations: 493.9 kB / 1.29 GB, free: 91.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/2.401, allocations: 50.69 kB / 1.29 GB, free: 91.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/2.401, allocations: 24 kB / 1.29 GB, free: 91.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003856/2.402, allocations: 202.1 kB / 1.29 GB, free: 91.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/2.402, allocations: 388.6 kB / 1.291 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/2.402, allocations: 3.938 kB / 1.291 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/2.402, allocations: 8 kB / 1.291 GB, free: 90.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/2.402, allocations: 12 kB / 1.291 GB, free: 90.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/2.404, allocations: 2.688 MB / 1.293 GB, free: 88.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/2.405, allocations: 120.9 kB / 1.294 GB, free: 87.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/2.405, allocations: 50.61 kB / 1.294 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/2.405, allocations: 0 / 1.294 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/2.405, allocations: 50.17 kB / 1.294 GB, free: 87.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/2.405, allocations: 0 / 1.294 GB, free: 87.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001441/2.406, allocations: 312.9 kB / 1.294 GB, free: 87.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/2.406, allocations: 158.2 kB / 1.294 GB, free: 87.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/2.407, allocations: 325.1 kB / 1.294 GB, free: 86.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/2.407, allocations: 29.64 kB / 1.294 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/2.407, allocations: 251.6 kB / 1.295 GB, free: 86.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/2.407, allocations: 39.39 kB / 1.295 GB, free: 86.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/2.407, allocations: 0 / 1.295 GB, free: 86.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/2.407, allocations: 346.8 kB / 1.295 GB, free: 86.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/2.407, allocations: 52.06 kB / 1.295 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/2.407, allocations: 220.2 kB / 1.295 GB, free: 85.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/2.407, allocations: 82.61 kB / 1.295 GB, free: 85.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/2.407, allocations: 0 / 1.295 GB, free: 85.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003752/2.408, allocations: 224.9 kB / 1.296 GB, free: 85.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/2.408, allocations: 1.221 MB / 1.297 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/2.408, allocations: 4 kB / 1.297 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/2.408, allocations: 7.906 kB / 1.297 GB, free: 84.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/2.409, allocations: 95.86 kB / 1.297 GB, free: 84.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/2.409, allocations: 8 kB / 1.297 GB, free: 84.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/2.409, allocations: 115.7 kB / 1.297 GB, free: 84.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/2.409, allocations: 8 kB / 1.297 GB, free: 84.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/2.409, allocations: 4 kB / 1.297 GB, free: 84.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001858/2.41, allocations: 124.5 kB / 1.297 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/2.41, allocations: 416 / 1.297 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/2.41, allocations: 8 kB / 1.297 GB, free: 83.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/2.41, allocations: 51.91 kB / 1.297 GB, free: 83.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/2.41, allocations: 11.84 kB / 1.297 GB, free: 83.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/2.41, allocations: 67.78 kB / 1.297 GB, free: 83.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/2.41, allocations: 12 kB / 1.297 GB, free: 83.8 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001101/2.41, allocations: 115.2 kB / 1.297 GB, free: 83.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/2.411, allocations: 43.47 kB / 1.297 GB, free: 83.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/2.411, allocations: 35.36 kB / 1.297 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/2.411, allocations: 4 kB / 1.297 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.411, allocations: 0 / 1.297 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/2.411, allocations: 0 / 1.297 GB, free: 83.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/2.411, allocations: 0.5739 MB / 1.298 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/2.411, allocations: 0 / 1.298 GB, free: 82.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/2.412, allocations: 75.94 kB / 1.298 GB, free: 82.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/2.412, allocations: 0 / 1.298 GB, free: 82.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/2.412, allocations: 11.98 kB / 1.298 GB, free: 82.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/2.412, allocations: 0 / 1.298 GB, free: 82.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.412, allocations: 0 / 1.298 GB, free: 82.89 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002769/2.412, allocations: 284 kB / 1.298 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/2.412, allocations: 120.6 kB / 1.299 GB, free: 82.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/2.412, allocations: 4 kB / 1.299 GB, free: 82.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/2.413, allocations: 95.91 kB / 1.299 GB, free: 82.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/2.413, allocations: 11.89 kB / 1.299 GB, free: 82.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/2.413, allocations: 15.98 kB / 1.299 GB, free: 82.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002159/2.413, allocations: 247.2 kB / 1.299 GB, free: 82.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009847/2.414, allocations: 275.1 kB / 1.299 GB, free: 81.81 MB / 0.6198 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 (10): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00072/2.415, allocations: 337.1 kB / 1.299 GB, free: 81.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004331/2.415, allocations: 214.2 kB / 1.3 GB, free: 81.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.415, allocations: 1.625 kB / 1.3 GB, free: 81.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/2.416, allocations: 55.98 kB / 1.3 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/2.417, allocations: 190 kB / 1.3 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/2.418, allocations: 0.4922 MB / 1.3 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/2.418, allocations: 0.9098 MB / 1.301 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/2.418, allocations: 0 / 1.301 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.01589/2.434, allocations: 9.42 MB / 1.31 GB, free: 70.27 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1)