Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.024/3.024, allocations: 287.5 MB / 302.5 MB, free: 8.246 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.001573/0.001573, allocations: 177.2 kB / 371 MB, free: 10.77 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 2.186/2.186, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 93.78 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005332, allocations: 15.73 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2226, allocations: 115.2 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9621/1.185, allocations: 164 MB / 1.139 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.185, allocations: 98.16 kB / 1.139 GB, free: 14.25 MB / 0.6823 GB [/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/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/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 - DAE generated: time 0.05883/1.244, allocations: 16.17 MB / 1.154 GB, free: 22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/1.244, allocations: 0 / 1.154 GB, free: 22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.436e-05/1.244, allocations: 4 kB / 1.154 GB, free: 22 MB / 0.698 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.0013/1.245, allocations: 0.578 MB / 1.155 GB, free: 21.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.245, allocations: 12.02 kB / 1.155 GB, free: 21.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/1.247, allocations: 151 kB / 1.155 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/1.248, allocations: 293.1 kB / 1.155 GB, free: 20.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/1.248, allocations: 20.34 kB / 1.155 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/1.248, allocations: 26.75 kB / 1.155 GB, free: 20.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/1.249, allocations: 455.7 kB / 1.156 GB, free: 20.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.249, allocations: 0 / 1.156 GB, free: 20.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/1.249, allocations: 14.69 kB / 1.156 GB, free: 20.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/1.249, allocations: 24.55 kB / 1.156 GB, free: 20.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/1.25, allocations: 320.5 kB / 1.156 GB, free: 20.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/1.253, allocations: 2.189 MB / 1.158 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/1.253, allocations: 249.9 kB / 1.159 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/1.253, allocations: 4 kB / 1.159 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.253, allocations: 34.19 kB / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.306e-06/1.253, allocations: 0 / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008517/1.254, allocations: 317.2 kB / 1.159 GB, free: 17.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.254, allocations: 51.41 kB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/1.255, allocations: 240.2 kB / 1.159 GB, free: 17.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.255, allocations: 25.7 kB / 1.159 GB, free: 17.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.255, allocations: 209.6 kB / 1.159 GB, free: 17.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.255, allocations: 49.66 kB / 1.16 GB, free: 17.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/1.255, allocations: 3.562 kB / 1.16 GB, free: 17.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.255, allocations: 341.6 kB / 1.16 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.255, allocations: 58.86 kB / 1.16 GB, free: 16.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/1.255, allocations: 140.6 kB / 1.16 GB, free: 16.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/1.256, allocations: 80.11 kB / 1.16 GB, free: 16.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.256, allocations: 0 / 1.16 GB, free: 16.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006766/1.256, allocations: 272.8 kB / 1.16 GB, free: 16.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.256, allocations: 8 kB / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.256, allocations: 4 kB / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/1.257, allocations: 28.34 kB / 1.16 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.257, allocations: 56.23 kB / 1.16 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/1.258, allocations: 1.321 MB / 1.162 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.259, allocations: 31.55 kB / 1.162 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.259, allocations: 15.44 kB / 1.162 GB, free: 14.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0002824/1.259, allocations: 168.4 kB / 1.162 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/1.259, allocations: 23.72 kB / 1.162 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/1.259, allocations: 24.39 kB / 1.162 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.259, allocations: 4 kB / 1.162 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.259, allocations: 96 / 1.162 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.259, allocations: 3.938 kB / 1.162 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.26, allocations: 0.6322 MB / 1.163 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.26, allocations: 0 / 1.163 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/1.261, allocations: 23.94 kB / 1.163 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/1.261, allocations: 28.78 kB / 1.163 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.261, allocations: 4 kB / 1.163 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/1.262, allocations: 1.335 MB / 1.164 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.262, allocations: 0 / 1.164 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/1.262, allocations: 353.5 kB / 1.164 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.263, allocations: 112 kB / 1.164 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/1.263, allocations: 11.89 kB / 1.164 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/1.263, allocations: 11.98 kB / 1.164 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/1.263, allocations: 19.23 kB / 1.164 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/1.263, allocations: 4 kB / 1.165 GB, free: 11.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002539/1.263, allocations: 188.9 kB / 1.165 GB, free: 11.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.263, allocations: 0 / 1.165 GB, free: 11.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005345/1.264, allocations: 79.11 kB / 1.165 GB, free: 11.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001495/1.264, allocations: 102.6 kB / 1.165 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006996/1.265, allocations: 278.6 kB / 1.165 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.265, allocations: 0 / 1.165 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/1.265, allocations: 180.9 kB / 1.165 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/1.266, allocations: 53.69 kB / 1.165 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.267, allocations: 0.6217 MB / 1.166 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/1.267, allocations: 0.8041 MB / 1.167 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002578/1.267, allocations: 46.25 kB / 1.167 GB, free: 9.641 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/1.268, allocations: 19.44 kB / 1.167 GB, free: 9.625 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.268, allocations: 0 / 1.167 GB, free: 9.625 MB / 0.698 GB Notification: Performance of Templates: time 0.009085/1.277, allocations: 2.445 MB / 1.169 GB, free: 7.219 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)