Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.761/1.761, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001315, allocations: 191.4 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009692/0.0009686, allocations: 98.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005564/0.0005564, allocations: 11.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6411/0.884, allocations: 164.2 MB / 1.14 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.8844, allocations: 97.69 kB / 1.14 GB, free: 13.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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.03239/0.9168, allocations: 16.19 MB / 1.156 GB, free: 20.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.093e-06/0.9168, allocations: 0 / 1.156 GB, free: 20.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.9169, allocations: 11.94 kB / 1.156 GB, free: 20.85 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.0007131/0.9176, allocations: 0.575 MB / 1.156 GB, free: 20.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.9176, allocations: 16.02 kB / 1.156 GB, free: 20.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.9185, allocations: 139.4 kB / 1.156 GB, free: 20.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.9189, allocations: 300 kB / 1.157 GB, free: 19.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.9189, allocations: 19.28 kB / 1.157 GB, free: 19.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.9189, allocations: 29.06 kB / 1.157 GB, free: 19.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.9195, allocations: 456.4 kB / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.9195, allocations: 0 / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.9195, allocations: 10.31 kB / 1.157 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.9196, allocations: 27.8 kB / 1.157 GB, free: 19.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.9199, allocations: 319.5 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.9218, allocations: 2.184 MB / 1.16 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.9221, allocations: 258.1 kB / 1.16 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.9221, allocations: 0 / 1.16 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.9222, allocations: 34.56 kB / 1.16 GB, free: 16.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.9222, allocations: 0 / 1.16 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000494/0.9227, allocations: 313.9 kB / 1.16 GB, free: 16.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.9227, allocations: 55.41 kB / 1.16 GB, free: 16.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.9229, allocations: 235.5 kB / 1.16 GB, free: 16.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.9229, allocations: 29.7 kB / 1.161 GB, free: 16.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.923, allocations: 206.6 kB / 1.161 GB, free: 15.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.9231, allocations: 54.39 kB / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.9231, allocations: 3.625 kB / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9232, allocations: 326 kB / 1.161 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.9233, allocations: 65.48 kB / 1.161 GB, free: 15.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.9234, allocations: 143.7 kB / 1.161 GB, free: 15.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.9235, allocations: 79.91 kB / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9235, allocations: 0 / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003372/0.9239, allocations: 275 kB / 1.162 GB, free: 15.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9239, allocations: 13.19 kB / 1.162 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9239, allocations: 0 / 1.162 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.924, allocations: 28.34 kB / 1.162 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.9242, allocations: 51.53 kB / 1.162 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008614/0.9251, allocations: 1.335 MB / 1.163 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.9253, allocations: 23.38 kB / 1.163 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.9253, allocations: 8 kB / 1.163 GB, free: 13.55 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.0001341/0.9254, allocations: 175.6 kB / 1.163 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.9255, allocations: 23.72 kB / 1.163 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.9255, allocations: 31.52 kB / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9255, allocations: 0 / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.9255, allocations: 96 / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9256, allocations: 7.938 kB / 1.163 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.9262, allocations: 0.6275 MB / 1.164 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9262, allocations: 4 kB / 1.164 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.9263, allocations: 19.98 kB / 1.164 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.989e-05/0.9264, allocations: 28.11 kB / 1.164 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.9264, allocations: 0 / 1.164 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007689/0.9272, allocations: 1.333 MB / 1.165 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9272, allocations: 4.031 kB / 1.165 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.9276, allocations: 353.2 kB / 1.166 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.9277, allocations: 111.7 kB / 1.166 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.9277, allocations: 0 / 1.166 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.9279, allocations: 23.25 kB / 1.166 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.9279, allocations: 11.94 kB / 1.166 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.9279, allocations: 7.562 kB / 1.166 GB, free: 10.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001581/0.9281, allocations: 193.6 kB / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9281, allocations: 0 / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003856/0.9285, allocations: 75.62 kB / 1.166 GB, free: 10.54 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.0001144/0.9286, allocations: 107 kB / 1.166 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.929, allocations: 279.7 kB / 1.166 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.929, allocations: 0 / 1.166 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.9292, allocations: 184.2 kB / 1.167 GB, free: 10.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.9296, allocations: 51.56 kB / 1.167 GB, free: 9.977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.9304, allocations: 0.6196 MB / 1.167 GB, free: 9.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.9307, allocations: 0.8008 MB / 1.168 GB, free: 8.539 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.9309, allocations: 50.23 kB / 1.168 GB, free: 8.492 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.9309, allocations: 19.44 kB / 1.168 GB, free: 8.477 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/0.9309, allocations: 0 / 1.168 GB, free: 8.477 MB / 0.698 GB Notification: Performance of Templates: time 0.005106/0.936, allocations: 2.439 MB / 1.17 GB, free: 6.078 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)