Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.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.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") [: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.7425/0.7425, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001246/0.001246, allocations: 170.8 kB / 171.6 MB, free: 1.973 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.648/1.648, 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.001527/0.001527, allocations: 123.9 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.5554/0.5554, allocations: 73.39 MB / 0.666 GB, free: 62.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.074/5.629, allocations: 2.122 GB / 2.788 GB, free: 75.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/5.63, allocations: 87.17 kB / 2.788 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.508/9.138, allocations: 0.9268 GB / 3.715 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001981/9.138, allocations: 33.08 kB / 3.715 GB, free: 115.5 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00347/9.142, allocations: 1.183 MB / 3.716 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/9.142, allocations: 15.97 kB / 3.716 GB, free: 114.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/9.143, allocations: 190.3 kB / 3.716 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/9.146, allocations: 1.127 MB / 3.717 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/9.146, allocations: 23.94 kB / 3.717 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/9.147, allocations: 44 kB / 3.717 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/9.148, allocations: 0.6116 MB / 3.718 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/9.149, allocations: 0.6208 MB / 3.718 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/9.149, allocations: 0 / 3.718 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/9.149, allocations: 3.906 kB / 3.718 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/9.149, allocations: 23.94 kB / 3.718 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/9.154, allocations: 3.489 MB / 3.722 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/9.154, allocations: 465.5 kB / 3.722 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/9.155, allocations: 245.9 kB / 3.722 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/9.155, allocations: 4.969 kB / 3.722 GB, free: 107 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/9.155, allocations: 50.44 kB / 3.723 GB, free: 107 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/9.155, allocations: 0 / 3.723 GB, free: 107 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29): time 0.01129/9.166, allocations: 2.772 MB / 3.725 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/9.166, allocations: 59.41 kB / 3.725 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/9.167, allocations: 0.8304 MB / 3.726 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/9.167, allocations: 25.7 kB / 3.726 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/9.168, allocations: 352.5 kB / 3.726 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/9.168, allocations: 98.5 kB / 3.727 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/9.168, allocations: 0 / 3.727 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/9.168, allocations: 318 kB / 3.727 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/9.168, allocations: 297.3 kB / 3.727 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/9.169, allocations: 0.6833 MB / 3.728 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/9.169, allocations: 303 kB / 3.728 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/9.169, allocations: 0 / 3.728 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.008912/9.178, allocations: 2.445 MB / 3.73 GB, free: 98.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/9.178, allocations: 0.6131 MB / 3.731 GB, free: 97.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/9.178, allocations: 0 / 3.731 GB, free: 97.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/9.179, allocations: 0.6833 MB / 3.732 GB, free: 97.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/9.179, allocations: 39.91 kB / 3.732 GB, free: 97.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/9.181, allocations: 1.556 MB / 3.733 GB, free: 95.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/9.183, allocations: 275.5 kB / 3.734 GB, free: 95.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/9.183, allocations: 23.84 kB / 3.734 GB, free: 95.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/9.183, allocations: 4 kB / 3.734 GB, free: 95.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009888/9.184, allocations: 0.4884 MB / 3.734 GB, free: 94.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/9.184, allocations: 4.062 kB / 3.734 GB, free: 94.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/9.185, allocations: 204.9 kB / 3.734 GB, free: 94.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/9.185, allocations: 43.98 kB / 3.734 GB, free: 94.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/9.188, allocations: 2.755 MB / 3.737 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/9.19, allocations: 147.6 kB / 3.737 GB, free: 91.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/9.19, allocations: 16 kB / 3.737 GB, free: 91.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002543/9.19, allocations: 109.9 kB / 3.737 GB, free: 91.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/9.19, allocations: 90.88 kB / 3.737 GB, free: 91.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/9.191, allocations: 96.81 kB / 3.737 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/9.191, allocations: 4 kB / 3.737 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/9.191, allocations: 3.938 kB / 3.737 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/9.191, allocations: 0 / 3.737 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/9.199, allocations: 2.901 MB / 3.74 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/9.199, allocations: 8.188 kB / 3.74 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/9.199, allocations: 27.92 kB / 3.74 GB, free: 88.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/9.2, allocations: 0.6371 MB / 3.741 GB, free: 87.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/9.2, allocations: 4 kB / 3.741 GB, free: 87.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/9.212, allocations: 5.935 MB / 3.747 GB, free: 81.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/9.212, allocations: 0 / 3.747 GB, free: 81.64 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007313/9.219, allocations: 2.24 MB / 3.749 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/9.22, allocations: 239.9 kB / 3.749 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/9.221, allocations: 7.906 kB / 3.749 GB, free: 79.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/9.222, allocations: 195.6 kB / 3.749 GB, free: 78.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/9.222, allocations: 19.97 kB / 3.749 GB, free: 78.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/9.223, allocations: 15.98 kB / 3.749 GB, free: 78.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001142/9.224, allocations: 0.6522 MB / 3.75 GB, free: 78.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00274/9.226, allocations: 0.5769 MB / 3.751 GB, free: 77.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/9.229, allocations: 1.021 MB / 3.752 GB, free: 76.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002016/9.231, allocations: 1.008 MB / 3.753 GB, free: 75.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/9.231, allocations: 4 kB / 3.753 GB, free: 75.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/9.231, allocations: 463.8 kB / 3.753 GB, free: 75.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/9.234, allocations: 404.4 kB / 3.753 GB, free: 74.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/9.237, allocations: 1.651 MB / 3.755 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/9.238, allocations: 1.279 MB / 3.756 GB, free: 71.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/9.238, allocations: 0 / 3.756 GB, free: 71.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.05272/9.291, allocations: 32.5 MB / 3.788 GB, free: 39.51 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1)