Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.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.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") [: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.8088/0.8088, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.00128/0.00128, allocations: 173.8 kB / 171.6 MB, free: 2.023 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.647/1.647, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001765/0.001766, allocations: 118.4 kB / 444.4 MB, free: 9.367 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.5859/0.5859, allocations: 73.4 MB / 0.666 GB, free: 62.4 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.414, allocations: 2.126 GB / 2.793 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/5.414, allocations: 85.14 kB / 2.793 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.503/10.92, allocations: 1.371 GB / 4.164 GB, free: 59.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004394/10.92, allocations: 53.73 kB / 4.164 GB, free: 59.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.009869/10.93, allocations: 1.993 MB / 4.166 GB, free: 58.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/10.93, allocations: 7.562 kB / 4.166 GB, free: 58.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/10.93, allocations: 259 kB / 4.166 GB, free: 58.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/10.93, allocations: 1.124 MB / 4.167 GB, free: 57.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/10.93, allocations: 114.7 kB / 4.168 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005525/10.94, allocations: 75.88 kB / 4.168 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00256/10.94, allocations: 0.8406 MB / 4.168 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/10.94, allocations: 1.105 MB / 4.169 GB, free: 57.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/10.94, allocations: 0 / 4.169 GB, free: 57.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/10.94, allocations: 3.156 kB / 4.169 GB, free: 57.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/10.94, allocations: 36.92 kB / 4.17 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/10.95, allocations: 4.412 MB / 4.174 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/10.95, allocations: 313.7 kB / 4.174 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/10.95, allocations: 199.1 kB / 4.174 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/10.95, allocations: 11.44 kB / 4.174 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/10.95, allocations: 53.11 kB / 4.174 GB, free: 55.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 5.34e-06/10.95, allocations: 0 / 4.174 GB, free: 55.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.006885/10.96, allocations: 1.337 MB / 4.176 GB, free: 55.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/10.96, allocations: 88.02 kB / 4.176 GB, free: 55.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/10.96, allocations: 0.7843 MB / 4.177 GB, free: 54.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002557/10.96, allocations: 29.52 kB / 4.177 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/10.96, allocations: 0.5596 MB / 4.177 GB, free: 54.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/10.96, allocations: 153.9 kB / 4.177 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/10.96, allocations: 0 / 4.177 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001057/10.96, allocations: 333.2 kB / 4.178 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/10.96, allocations: 192.4 kB / 4.178 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/10.96, allocations: 0.5663 MB / 4.178 GB, free: 53.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/10.96, allocations: 256 kB / 4.179 GB, free: 53.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/10.96, allocations: 6.312 kB / 4.179 GB, free: 53.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004669/10.97, allocations: 1.228 MB / 4.18 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007524/10.97, allocations: 2.723 MB / 4.182 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/10.97, allocations: 7.422 kB / 4.182 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/10.97, allocations: 142.7 kB / 4.183 GB, free: 50.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006937/10.98, allocations: 1.109 MB / 4.184 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/10.98, allocations: 2.957 MB / 4.187 GB, free: 48.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/10.99, allocations: 246.5 kB / 4.187 GB, free: 48.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/10.99, allocations: 32.73 kB / 4.187 GB, free: 48.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/10.99, allocations: 8.625 kB / 4.187 GB, free: 48.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/10.99, allocations: 0.5102 MB / 4.187 GB, free: 48.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/10.99, allocations: 5.75 kB / 4.187 GB, free: 48.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/10.99, allocations: 76.89 kB / 4.187 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/10.99, allocations: 208 kB / 4.188 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/10.99, allocations: 2.796 MB / 4.19 GB, free: 45.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/10.99, allocations: 126.7 kB / 4.19 GB, free: 45.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/10.99, allocations: 25.25 kB / 4.19 GB, free: 45.86 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005693/10.99, allocations: 135.2 kB / 4.191 GB, free: 45.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/10.99, allocations: 123.5 kB / 4.191 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/10.99, allocations: 113 kB / 4.191 GB, free: 45.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/10.99, allocations: 4.75 kB / 4.191 GB, free: 45.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/10.99, allocations: 5.766 kB / 4.191 GB, free: 45.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/10.99, allocations: 3.094 kB / 4.191 GB, free: 45.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/11.01, allocations: 3.198 MB / 4.194 GB, free: 45.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/11.01, allocations: 5.312 kB / 4.194 GB, free: 45.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005418/11.01, allocations: 0.9317 MB / 4.195 GB, free: 45.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003536/11.01, allocations: 135.6 kB / 4.195 GB, free: 45.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/11.01, allocations: 15 kB / 4.195 GB, free: 45.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/11.02, allocations: 6.836 MB / 4.202 GB, free: 39.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/11.02, allocations: 5.719 kB / 4.202 GB, free: 39.94 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005153/11.03, allocations: 1.595 MB / 4.203 GB, free: 39.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/11.03, allocations: 304.5 kB / 4.204 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/11.03, allocations: 13.27 kB / 4.204 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/11.03, allocations: 175.8 kB / 4.204 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/11.03, allocations: 45.56 kB / 4.204 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/11.03, allocations: 61.11 kB / 4.204 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001521/11.03, allocations: 0.5889 MB / 4.204 GB, free: 38.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00595/11.04, allocations: 1.023 MB / 4.205 GB, free: 38.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008059/11.05, allocations: 3.914 MB / 4.209 GB, free: 36.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01246/11.06, allocations: 2.555 MB / 4.212 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.187e-05/11.06, allocations: 4.5 kB / 4.212 GB, free: 35.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/11.07, allocations: 2.312 MB / 4.214 GB, free: 33.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/11.08, allocations: 496.6 kB / 4.214 GB, free: 33.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/11.08, allocations: 1.766 MB / 4.216 GB, free: 31.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/11.08, allocations: 1.381 MB / 4.218 GB, free: 30.32 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/11.08, allocations: 0 / 4.218 GB, free: 30.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.0773/11.16, allocations: 46.46 MB / 4.263 GB, free: 1.461 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe 2>&1)