Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [: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.7868/0.7868, 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.001249/0.001249, allocations: 171 kB / 171.6 MB, free: 1.945 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.714/1.714, allocations: 170.5 MB / 373.9 MB, free: 15.96 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.001837/0.001837, allocations: 114.8 kB / 444.4 MB, free: 9.508 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.5756/0.5756, allocations: 73.4 MB / 0.666 GB, free: 62.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.7578, allocations: 127.1 MB / 0.7902 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.7583, allocations: 95.16 kB / 0.7903 GB, free: 8.957 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.04328/0.8016, allocations: 15.92 MB / 0.8058 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.42e-05/0.8017, allocations: 8 kB / 0.8058 GB, free: 8.984 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001478/0.8031, allocations: 0.5606 MB / 0.8064 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.8032, allocations: 8.031 kB / 0.8064 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.8048, allocations: 147.4 kB / 0.8065 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007915/0.8056, allocations: 282.4 kB / 0.8068 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.8056, allocations: 8 kB / 0.8068 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.8057, allocations: 16 kB / 0.8068 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007234/0.8064, allocations: 289.2 kB / 0.8071 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.8072, allocations: 418.1 kB / 0.8075 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8073, allocations: 3.938 kB / 0.8075 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.8073, allocations: 4 kB / 0.8075 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.8074, allocations: 32.64 kB / 0.8075 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.81, allocations: 1.709 MB / 0.8092 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.8104, allocations: 155.2 kB / 0.8093 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.8108, allocations: 108.8 kB / 0.8094 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.8108, allocations: 4 kB / 0.8094 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.8109, allocations: 36.31 kB / 0.8095 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 3.677e-06/0.8109, allocations: 0 / 0.8095 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0005211/0.8114, allocations: 158.5 kB / 0.8096 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.8115, allocations: 55.41 kB / 0.8097 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.8117, allocations: 191 kB / 0.8099 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.8118, allocations: 25.7 kB / 0.8099 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.8119, allocations: 199.4 kB / 0.8101 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.812, allocations: 51.3 kB / 0.8101 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.812, allocations: 0 / 0.8101 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8122, allocations: 326.8 kB / 0.8104 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.8123, allocations: 60.45 kB / 0.8105 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.8124, allocations: 131.8 kB / 0.8106 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.8126, allocations: 75.91 kB / 0.8107 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8126, allocations: 0 / 0.8107 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004419/0.813, allocations: 241.9 kB / 0.8109 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8131, allocations: 4 kB / 0.8109 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8131, allocations: 4.781 kB / 0.8109 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.8133, allocations: 29.22 kB / 0.811 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.8135, allocations: 47.92 kB / 0.811 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.8148, allocations: 1.256 MB / 0.8122 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.815, allocations: 16.38 kB / 0.8122 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.815, allocations: 16 kB / 0.8123 GB, free: 1.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.8152, allocations: 112.8 kB / 0.8124 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.8152, allocations: 23.72 kB / 0.8124 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.8153, allocations: 25.45 kB / 0.8124 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8153, allocations: 0 / 0.8124 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8153, allocations: 8.094 kB / 0.8124 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8153, allocations: 0 / 0.8124 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.8163, allocations: 0.5931 MB / 0.813 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.8164, allocations: 4 kB / 0.813 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.8165, allocations: 19.98 kB / 0.813 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.843e-05/0.8166, allocations: 24.84 kB / 0.813 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.8167, allocations: 4 kB / 0.813 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.8178, allocations: 1.256 MB / 0.8143 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8178, allocations: 0 / 0.8143 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004952/0.8183, allocations: 388.7 kB / 0.8146 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.8185, allocations: 116.8 kB / 0.8148 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.8185, allocations: 0 / 0.8148 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.8187, allocations: 8 kB / 0.8148 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.8187, allocations: 12.92 kB / 0.8148 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.8188, allocations: 12 kB / 0.8148 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001639/0.8189, allocations: 145.6 kB / 0.8149 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004657/0.8194, allocations: 75.69 kB / 0.815 GB, free: 14.85 MB / 0.5261 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 (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001892/0.8196, allocations: 99.19 kB / 0.8151 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.8201, allocations: 257.9 kB / 0.8153 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8202, allocations: 0 / 0.8153 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.8204, allocations: 173.6 kB / 0.8155 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.8208, allocations: 39.08 kB / 0.8155 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.8219, allocations: 384.4 kB / 0.8159 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.8224, allocations: 0.8207 MB / 0.8167 GB, free: 13 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.8225, allocations: 0 / 0.8167 GB, free: 13 MB / 0.5261 GB Notification: Performance of Templates: time 0.006603/0.8291, allocations: 2.336 MB / 0.819 GB, free: 10.71 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)