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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [: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.8001/0.8001, allocations: 132.4 MB / 139.7 MB, free: 15.5 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.001208/0.001208, allocations: 166.7 kB / 171.6 MB, free: 2.004 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.624/1.624, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001768/0.001768, allocations: 117.7 kB / 444.4 MB, free: 9.402 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.4623/0.4624, allocations: 73.39 MB / 0.666 GB, free: 62.58 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.6439, allocations: 142.3 MB / 0.805 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.6443, allocations: 93.5 kB / 0.8051 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.211/0.8554, allocations: 77.59 MB / 0.8809 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002/0.8556, allocations: 35.98 kB / 0.8809 GB, free: 11.46 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00447/0.8601, allocations: 1.545 MB / 0.8824 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8602, allocations: 8.031 kB / 0.8824 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.8719, allocations: 1.461 MB / 0.8838 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/0.8763, allocations: 1.134 MB / 0.8849 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.8765, allocations: 36 kB / 0.885 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007406/0.8772, allocations: 75.89 kB / 0.885 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003899/0.8812, allocations: 1.477 MB / 0.8865 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/0.8857, allocations: 1.887 MB / 0.8883 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.8858, allocations: 15.83 kB / 0.8883 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.8861, allocations: 8 kB / 0.8884 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.8863, allocations: 78.12 kB / 0.8884 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2714/1.158, allocations: 8.164 MB / 0.8964 GB, free: 215.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.159, allocations: 1.1 MB / 0.8975 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/1.16, allocations: 0.6068 MB / 0.8981 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/1.16, allocations: 7.312 kB / 0.8981 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/1.16, allocations: 50.86 kB / 0.8981 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=53): time 2.796e-06/1.16, allocations: 0 / 0.8981 GB, free: 215.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.008515/1.169, allocations: 3.952 MB / 0.902 GB, free: 215.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.169, allocations: 217.6 kB / 0.9022 GB, free: 214.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.17, allocations: 0.7458 MB / 0.9029 GB, free: 214.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.17, allocations: 29.42 kB / 0.9029 GB, free: 214.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/1.171, allocations: 0.534 MB / 0.9035 GB, free: 214.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.171, allocations: 265.9 kB / 0.9037 GB, free: 214.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/1.171, allocations: 0 / 0.9037 GB, free: 214.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.171, allocations: 345.7 kB / 0.9041 GB, free: 214 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008743/1.172, allocations: 0.7083 MB / 0.9047 GB, free: 214 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/1.173, allocations: 0.9334 MB / 0.9057 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.174, allocations: 0.7943 MB / 0.9064 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.174, allocations: 3.812 kB / 0.9064 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004717/1.179, allocations: 2.49 MB / 0.9089 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.179, allocations: 2.875 kB / 0.9089 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.179, allocations: 7.688 kB / 0.9089 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/1.182, allocations: 0.8463 MB / 0.9097 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/1.184, allocations: 335.5 kB / 0.91 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.197, allocations: 13.83 MB / 0.9235 GB, free: 203.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.199, allocations: 201.6 kB / 0.9237 GB, free: 203.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.2, allocations: 58.83 kB / 0.9238 GB, free: 203.9 MB / 0.5886 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002957/1.2, allocations: 132.2 kB / 0.9239 GB, free: 203.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/1.2, allocations: 130.7 kB / 0.924 GB, free: 203.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/1.205, allocations: 2.53 MB / 0.9265 GB, free: 203.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.205, allocations: 7.469 kB / 0.9265 GB, free: 203.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.205, allocations: 7.781 kB / 0.9265 GB, free: 203.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.205, allocations: 13.36 kB / 0.9265 GB, free: 203.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007663/1.213, allocations: 4.107 MB / 0.9305 GB, free: 203.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.213, allocations: 7.609 kB / 0.9305 GB, free: 203.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.215, allocations: 284.3 kB / 0.9308 GB, free: 203.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/1.218, allocations: 0.7619 MB / 0.9316 GB, free: 203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.218, allocations: 22.16 kB / 0.9316 GB, free: 203 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.23, allocations: 13.38 MB / 0.9446 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.23, allocations: 5.781 kB / 0.9447 GB, free: 193.4 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004261/1.234, allocations: 2.482 MB / 0.9471 GB, free: 192.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/1.235, allocations: 374.3 kB / 0.9474 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/1.235, allocations: 6.062 kB / 0.9474 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.237, allocations: 205.3 kB / 0.9476 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.237, allocations: 51.02 kB / 0.9477 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.237, allocations: 34.55 kB / 0.9477 GB, free: 192.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000952/1.238, allocations: 0.5641 MB / 0.9483 GB, free: 192.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002006/1.24, allocations: 402.5 kB / 0.9487 GB, free: 192.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003432/1.241, allocations: 132.9 kB / 0.9488 GB, free: 192.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004333/1.245, allocations: 2.714 MB / 0.9514 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.245, allocations: 3.594 kB / 0.9514 GB, free: 191.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/1.248, allocations: 1.844 MB / 0.9532 GB, free: 190.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.25, allocations: 406.5 kB / 0.9536 GB, free: 190.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/1.256, allocations: 2.449 MB / 0.956 GB, free: 189.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.258, allocations: 1.483 MB / 0.9575 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/1.258, allocations: 0.9062 kB / 0.9575 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.05319/1.311, allocations: 30.33 MB / 0.9871 GB, free: 183.1 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)