Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [: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.8279/0.8279, allocations: 132.4 MB / 139.7 MB, free: 2.941 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00114/0.00114, allocations: 186.3 kB / 171.6 MB, free: 5.086 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.265/1.265, allocations: 170.5 MB / 373.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001621/0.001621, allocations: 108.3 kB / 444.4 MB, free: 2.422 MB / 330.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.1738/0.1738, allocations: 73.39 MB / 0.666 GB, free: 50.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6185/0.7924, allocations: 116.8 MB / 0.7801 GB, free: 2.281 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004789/0.793, allocations: 93.16 kB / 0.7802 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.04569/0.8387, allocations: 13.29 MB / 0.7932 GB, free: 7.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.8389, allocations: 8 kB / 0.7932 GB, free: 7.223 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001081/0.84, allocations: 479.2 kB / 0.7937 GB, free: 6.723 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.84, allocations: 12.03 kB / 0.7937 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.841, allocations: 83.61 kB / 0.7938 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.8415, allocations: 243.2 kB / 0.794 GB, free: 6.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.8415, allocations: 4 kB / 0.794 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.8416, allocations: 8 kB / 0.794 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004803/0.8421, allocations: 183.7 kB / 0.7942 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.8426, allocations: 276.9 kB / 0.7944 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.8427, allocations: 3.938 kB / 0.7944 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.8427, allocations: 0 / 0.7944 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.8428, allocations: 19.98 kB / 0.7945 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.845, allocations: 1.26 MB / 0.7957 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.8455, allocations: 224.8 kB / 0.7959 GB, free: 4.551 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.8457, allocations: 119.3 kB / 0.796 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.8458, allocations: 7.938 kB / 0.796 GB, free: 4.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.8458, allocations: 34.56 kB / 0.7961 GB, free: 4.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.8458, allocations: 0 / 0.7961 GB, free: 4.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006181/0.8465, allocations: 227.2 kB / 0.7963 GB, free: 4.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.8465, allocations: 83.98 kB / 0.7964 GB, free: 4.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.8467, allocations: 151.2 kB / 0.7965 GB, free: 3.992 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.8468, allocations: 25.7 kB / 0.7965 GB, free: 3.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.8469, allocations: 137 kB / 0.7967 GB, free: 3.832 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.847, allocations: 58.33 kB / 0.7967 GB, free: 3.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.847, allocations: 4.031 kB / 0.7967 GB, free: 3.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8472, allocations: 322.7 kB / 0.797 GB, free: 3.457 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8474, allocations: 86.47 kB / 0.7971 GB, free: 3.402 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.8476, allocations: 146.6 kB / 0.7972 GB, free: 3.266 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.8479, allocations: 118.1 kB / 0.7974 GB, free: 3.184 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8479, allocations: 0 / 0.7974 GB, free: 3.184 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005511/0.8484, allocations: 266.9 kB / 0.7976 GB, free: 2.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003931/0.8488, allocations: 0.7056 MB / 0.7983 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8488, allocations: 0 / 0.7983 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.8489, allocations: 4 kB / 0.7983 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.8493, allocations: 55.91 kB / 0.7984 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8493, allocations: 4 kB / 0.7984 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.8496, allocations: 35.72 kB / 0.7984 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.8497, allocations: 6.5 kB / 0.7984 GB, free: 2.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.8497, allocations: 8.719 kB / 0.7984 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004066/0.8501, allocations: 195.4 kB / 0.7986 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8501, allocations: 4 kB / 0.7986 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.8502, allocations: 0 / 0.7986 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.8505, allocations: 51.91 kB / 0.7986 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.8505, allocations: 4 kB / 0.7987 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.8507, allocations: 28.05 kB / 0.7987 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.8508, allocations: 15.17 kB / 0.7987 GB, free: 1.879 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0002079/0.851, allocations: 104.9 kB / 0.7988 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.8511, allocations: 15.81 kB / 0.7988 GB, free: 1.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.8517, allocations: 250.7 kB / 0.799 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.8517, allocations: 4 kB / 0.7991 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8517, allocations: 0 / 0.7991 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.8517, allocations: 4 kB / 0.7991 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.8529, allocations: 0.6115 MB / 0.7997 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.853, allocations: 0 / 0.7997 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.8533, allocations: 48.03 kB / 0.7997 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.8533, allocations: 4 kB / 0.7997 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.8533, allocations: 3.984 kB / 0.7997 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.8534, allocations: 7.938 kB / 0.7997 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8534, allocations: 0 / 0.7997 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006467/0.854, allocations: 485.7 kB / 0.8002 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.8542, allocations: 115.4 kB / 0.8003 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.8542, allocations: 0 / 0.8003 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.8546, allocations: 19.98 kB / 0.8003 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.8547, allocations: 15.33 kB / 0.8003 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.8547, allocations: 11.94 kB / 0.8003 GB, free: 268 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.000128/0.8548, allocations: 129 kB / 0.8005 GB, free: 152 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.000737/0.8556, allocations: 75.84 kB / 0.8005 GB, free: 76 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000276/0.8559, allocations: 114.6 kB / 0.8006 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.8566, allocations: 329.6 kB / 0.801 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-05/0.8567, allocations: 0 / 0.801 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.8569, allocations: 104.3 kB / 0.8011 GB, free: 15.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.8575, allocations: 37.52 kB / 0.8011 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.8587, allocations: 350.1 kB / 0.8014 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/0.8594, allocations: 0.7692 MB / 0.8022 GB, free: 14.48 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8594, allocations: 7.938 kB / 0.8022 GB, free: 14.47 MB / 490.7 MB Notification: Performance of Templates: time 0.00886/0.8683, allocations: 3.024 MB / 0.8051 GB, free: 11.46 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)