Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [: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.8011/0.8011, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001111/0.001111, allocations: 170.5 kB / 171.6 MB, free: 1.957 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.633/1.633, allocations: 170.5 MB / 373.9 MB, free: 15.9 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.001874/0.001874, allocations: 115.5 kB / 444.4 MB, free: 9.449 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.5408/0.5409, allocations: 73.4 MB / 0.666 GB, free: 62.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.7101, allocations: 122.6 MB / 0.7857 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.7105, allocations: 94.56 kB / 0.7858 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04719/0.7578, allocations: 16.67 MB / 0.8021 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.7578, allocations: 11.94 kB / 0.8021 GB, free: 12.88 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001514/0.7594, allocations: 0.6164 MB / 0.8027 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.7594, allocations: 12.02 kB / 0.8027 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7605, allocations: 95.61 kB / 0.8028 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.7613, allocations: 278.5 kB / 0.8031 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.7613, allocations: 4 kB / 0.8031 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.7614, allocations: 16 kB / 0.8031 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000617/0.7621, allocations: 248.8 kB / 0.8033 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.7628, allocations: 349.4 kB / 0.8037 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.7628, allocations: 3.938 kB / 0.8037 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.7629, allocations: 4 kB / 0.8037 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.763, allocations: 24.36 kB / 0.8037 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.7659, allocations: 1.41 MB / 0.8051 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.7668, allocations: 338.3 kB / 0.8054 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.7672, allocations: 155.2 kB / 0.8056 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.7675, allocations: 89.11 kB / 0.8056 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.768, allocations: 223.3 kB / 0.8058 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 4.578e-06/0.768, allocations: 0 / 0.8058 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001547/0.7696, allocations: 439.2 kB / 0.8063 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.7697, allocations: 85.09 kB / 0.8063 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.77, allocations: 192.7 kB / 0.8065 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.7701, allocations: 29.69 kB / 0.8066 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.7703, allocations: 148 kB / 0.8067 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.7704, allocations: 90.66 kB / 0.8068 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.7705, allocations: 3.938 kB / 0.8068 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7706, allocations: 338.8 kB / 0.8071 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.7709, allocations: 132.3 kB / 0.8072 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.7712, allocations: 202.5 kB / 0.8074 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.7716, allocations: 165.1 kB / 0.8076 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7716, allocations: 3.938 kB / 0.8076 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009622/0.7725, allocations: 427.4 kB / 0.808 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006469/0.7732, allocations: 0.8774 MB / 0.8089 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.7732, allocations: 11.67 kB / 0.8089 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.7736, allocations: 40.77 kB / 0.8089 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.774, allocations: 91.88 kB / 0.809 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.7757, allocations: 1.423 MB / 0.8104 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.7761, allocations: 39.81 kB / 0.8104 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.7762, allocations: 20 kB / 0.8104 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.7762, allocations: 4 kB / 0.8104 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007428/0.7769, allocations: 350.3 kB / 0.8108 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.777, allocations: 4 kB / 0.8108 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.7771, allocations: 41.11 kB / 0.8108 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.7775, allocations: 83.88 kB / 0.8109 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.779, allocations: 1.411 MB / 0.8123 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.7794, allocations: 49.98 kB / 0.8123 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.7794, allocations: 11.98 kB / 0.8123 GB, free: 1.758 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.7796, allocations: 119.2 kB / 0.8125 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.7797, allocations: 23.72 kB / 0.8125 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.7805, allocations: 388.2 kB / 0.8128 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7805, allocations: 4 kB / 0.8129 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7805, allocations: 7.906 kB / 0.8129 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7805, allocations: 0 / 0.8129 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.7813, allocations: 0.5237 MB / 0.8134 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7813, allocations: 0 / 0.8134 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.7817, allocations: 76.03 kB / 0.8134 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.7819, allocations: 42.39 kB / 0.8135 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.7819, allocations: 7.922 kB / 0.8135 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.7831, allocations: 1.341 MB / 0.8148 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7832, allocations: 0 / 0.8148 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007883/0.784, allocations: 0.5035 MB / 0.8153 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.7841, allocations: 136.7 kB / 0.8154 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.7842, allocations: 11.84 kB / 0.8154 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.7846, allocations: 35.95 kB / 0.8155 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.7847, allocations: 35.95 kB / 0.8155 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.7847, allocations: 4 kB / 0.8155 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000175/0.7849, allocations: 164.5 kB / 0.8157 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006652/0.7856, allocations: 116 kB / 0.8158 GB, free: 14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002396/0.7858, allocations: 119.1 kB / 0.8159 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.7872, allocations: 0.7737 MB / 0.8166 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7872, allocations: 0 / 0.8166 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.7877, allocations: 283.2 kB / 0.8169 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.7881, allocations: 41.34 kB / 0.817 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7893, allocations: 471.2 kB / 0.8174 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/0.7899, allocations: 0.8169 MB / 0.8182 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.7899, allocations: 0 / 0.8182 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.0121/0.802, allocations: 5.696 MB / 0.8238 GB, free: 5.766 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)