Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [: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.734/0.734, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001189/0.001189, allocations: 171.5 kB / 171.6 MB, free: 2.02 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.83 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.001953/0.001953, allocations: 122.9 kB / 444.4 MB, free: 9.363 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.5119/0.5119, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.6769, allocations: 122.9 MB / 0.786 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.6773, allocations: 91.94 kB / 0.7861 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.09293/0.7702, allocations: 36.8 MB / 0.822 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.653e-05/0.7703, allocations: 23.98 kB / 0.8221 GB, free: 8.164 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002356/0.7727, allocations: 0.9563 MB / 0.823 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.7728, allocations: 12.03 kB / 0.823 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.7748, allocations: 246.6 kB / 0.8232 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.776, allocations: 0.5315 MB / 0.8238 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.7761, allocations: 24 kB / 0.8238 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.7762, allocations: 39.94 kB / 0.8238 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/0.7774, allocations: 0.6085 MB / 0.8244 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.779, allocations: 1.03 MB / 0.8254 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.779, allocations: 3.938 kB / 0.8254 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.7791, allocations: 11.91 kB / 0.8254 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/0.7792, allocations: 55.41 kB / 0.8255 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.785, allocations: 4.762 MB / 0.8301 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009088/0.786, allocations: 0.5244 MB / 0.8307 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.7864, allocations: 326.1 kB / 0.831 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.7865, allocations: 8.375 kB / 0.831 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.7865, allocations: 39 kB / 0.831 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.827e-06/0.7866, allocations: 4 kB / 0.831 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002431/0.789, allocations: 1.181 MB / 0.8322 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7891, allocations: 59.84 kB / 0.8322 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.7895, allocations: 394.1 kB / 0.8326 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.7896, allocations: 29.7 kB / 0.8326 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.7898, allocations: 342.8 kB / 0.833 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7899, allocations: 169.5 kB / 0.8331 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.79, allocations: 0 / 0.8331 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7902, allocations: 366.8 kB / 0.8335 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.7906, allocations: 269.1 kB / 0.8337 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.7911, allocations: 445.5 kB / 0.8342 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.7916, allocations: 333.2 kB / 0.8345 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7916, allocations: 4 kB / 0.8345 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001704/0.7933, allocations: 0.9788 MB / 0.8354 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7933, allocations: 4 kB / 0.8354 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.7934, allocations: 8.75 kB / 0.8354 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009105/0.7943, allocations: 276.9 kB / 0.8357 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.7948, allocations: 107.8 kB / 0.8358 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.8007, allocations: 6.21 MB / 0.8419 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.8013, allocations: 24.03 kB / 0.8419 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.8014, allocations: 28 kB / 0.8419 GB, free: 2.758 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.8016, allocations: 120.8 kB / 0.842 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8017, allocations: 63.25 kB / 0.8421 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.8033, allocations: 0.848 MB / 0.8429 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.8033, allocations: 8 kB / 0.8429 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8033, allocations: 7.984 kB / 0.8429 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8033, allocations: 0 / 0.8429 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.8059, allocations: 1.599 MB / 0.8445 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8059, allocations: 4.188 kB / 0.8445 GB, free: 16 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.8062, allocations: 59.89 kB / 0.8446 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007734/0.807, allocations: 263.2 kB / 0.8448 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.807, allocations: 3.938 kB / 0.8448 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.813, allocations: 6.19 MB / 0.8509 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.813, allocations: 0 / 0.8509 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001634/0.8146, allocations: 1.024 MB / 0.8519 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.8149, allocations: 188.3 kB / 0.852 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.815, allocations: 3.984 kB / 0.852 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.8154, allocations: 15.98 kB / 0.8521 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.8155, allocations: 19.97 kB / 0.8521 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.8155, allocations: 12 kB / 0.8521 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0003483/0.8159, allocations: 306.9 kB / 0.8524 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008781/0.8167, allocations: 195.9 kB / 0.8526 GB, free: 7.184 MB / 0.5573 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.8169, allocations: 103.1 kB / 0.8527 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.8187, allocations: 1.157 MB / 0.8538 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8187, allocations: 4 kB / 0.8538 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.8199, allocations: 0.7998 MB / 0.8546 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008593/0.8208, allocations: 166.7 kB / 0.8547 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.823, allocations: 1.033 MB / 0.8558 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.8238, allocations: 1.051 MB / 0.8568 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/0.8238, allocations: 0 / 0.8568 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of Templates: time 0.01716/0.841, allocations: 10.05 MB / 0.8666 GB, free: 8.754 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)