Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.118/2.118, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.001219, allocations: 87.53 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/9.869e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5445, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.7847, allocations: 163 MB / 1.122 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.7851, allocations: 84.61 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.04219/0.8273, allocations: 10.92 MB / 1.133 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.8273, allocations: 4 kB / 1.133 GB, free: 14.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008104/0.8282, allocations: 478.1 kB / 1.133 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8282, allocations: 8.031 kB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8292, allocations: 83.64 kB / 1.133 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.8297, allocations: 245.6 kB / 1.134 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8298, allocations: 8 kB / 1.134 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.8298, allocations: 8 kB / 1.134 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005639/0.8304, allocations: 172.8 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.831, allocations: 275.8 kB / 1.134 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.831, allocations: 0 / 1.134 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.8311, allocations: 0 / 1.134 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.8311, allocations: 12.38 kB / 1.134 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.8333, allocations: 1.422 MB / 1.135 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.8336, allocations: 86.58 kB / 1.135 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.8337, allocations: 32.89 kB / 1.135 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.8337, allocations: 4 kB / 1.135 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8338, allocations: 34.5 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.8338, allocations: 0 / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004036/0.8342, allocations: 114.5 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.8343, allocations: 55.34 kB / 1.136 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.8345, allocations: 150.2 kB / 1.136 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.8345, allocations: 29.7 kB / 1.136 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.8346, allocations: 167.5 kB / 1.136 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.8347, allocations: 20.5 kB / 1.136 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.8347, allocations: 0 / 1.136 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8348, allocations: 326.8 kB / 1.136 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.835, allocations: 39.89 kB / 1.136 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8351, allocations: 102.1 kB / 1.136 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.8353, allocations: 44.72 kB / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8353, allocations: 4 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000449/0.8358, allocations: 173.6 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8358, allocations: 7.906 kB / 1.137 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8358, allocations: 4 kB / 1.137 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.836, allocations: 29.12 kB / 1.137 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.8362, allocations: 27.92 kB / 1.137 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.8377, allocations: 1.249 MB / 1.138 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.8379, allocations: 15.75 kB / 1.138 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.8379, allocations: 8 kB / 1.138 GB, free: 8.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * 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: 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.0001033/0.8381, allocations: 104.8 kB / 1.138 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.8381, allocations: 23.8 kB / 1.138 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.8382, allocations: 13.91 kB / 1.138 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8382, allocations: 4.094 kB / 1.138 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8382, allocations: 0 / 1.138 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8382, allocations: 0 / 1.138 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.8386, allocations: 211.9 kB / 1.138 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8386, allocations: 5.969 kB / 1.138 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.8387, allocations: 11.98 kB / 1.138 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.8388, allocations: 16.86 kB / 1.138 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.8388, allocations: 7.969 kB / 1.138 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.8401, allocations: 1.245 MB / 1.14 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8401, allocations: 160 / 1.14 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003346/0.8405, allocations: 220 kB / 1.14 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.8406, allocations: 100.9 kB / 1.14 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.8406, allocations: 0 / 1.14 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.8408, allocations: 4 kB / 1.14 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.8409, allocations: 11.84 kB / 1.14 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.8409, allocations: 0 / 1.14 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001653/0.8411, allocations: 136.3 kB / 1.14 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004699/0.8415, allocations: 47.84 kB / 1.14 GB, free: 6.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001328/0.8417, allocations: 91.25 kB / 1.14 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.8421, allocations: 195 kB / 1.14 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8422, allocations: 4.125 kB / 1.14 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.8424, allocations: 133.7 kB / 1.14 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.8428, allocations: 26.52 kB / 1.141 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.8435, allocations: 211.8 kB / 1.141 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/0.844, allocations: 0.7751 MB / 1.141 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.844, allocations: 0 / 1.141 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.006431/0.8505, allocations: 1.592 MB / 1.143 GB, free: 3.469 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)