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.729/1.729, allocations: 288.4 MB / 304.3 MB, free: 8.82 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.001022/0.001022, allocations: 183.7 kB / 373 MB, free: 6.449 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.366/1.366, allocations: 205.4 MB / 0.6317 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007842/0.0007842, allocations: 90.45 kB / 0.745 GB, free: 64.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 12 kB / 0.8681 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 115.3 MB / 0.9807 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6387/0.8541, allocations: 164.2 MB / 1.141 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.8545, allocations: 95 kB / 1.141 GB, free: 31.6 MB / 0.7448 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.03786/0.8924, allocations: 16.2 MB / 1.157 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8924, allocations: 0 / 1.157 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.8924, allocations: 4 kB / 1.157 GB, free: 23.14 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007954/0.8932, allocations: 0.5806 MB / 1.158 GB, free: 22.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8933, allocations: 8.031 kB / 1.158 GB, free: 22.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.8943, allocations: 149.1 kB / 1.158 GB, free: 22.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.8946, allocations: 292.2 kB / 1.158 GB, free: 22.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.8946, allocations: 24.95 kB / 1.158 GB, free: 22.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.8947, allocations: 26.06 kB / 1.158 GB, free: 22.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.8953, allocations: 456.2 kB / 1.158 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8954, allocations: 192 / 1.158 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.8954, allocations: 14.25 kB / 1.158 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.8955, allocations: 27.94 kB / 1.159 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.8959, allocations: 324.5 kB / 1.159 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.8977, allocations: 2.184 MB / 1.161 GB, free: 19.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.898, allocations: 253 kB / 1.161 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.8982, allocations: 117.9 kB / 1.161 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.8982, allocations: 0 / 1.161 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.8983, allocations: 39.5 kB / 1.161 GB, free: 19.28 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.8983, allocations: 0 / 1.161 GB, free: 19.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006216/0.8989, allocations: 302.4 kB / 1.162 GB, free: 19.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.8989, allocations: 55.41 kB / 1.162 GB, free: 18.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.8992, allocations: 265.2 kB / 1.162 GB, free: 18.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8992, allocations: 29.7 kB / 1.162 GB, free: 18.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.8993, allocations: 207.7 kB / 1.162 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.8993, allocations: 46.86 kB / 1.162 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.8993, allocations: 3.625 kB / 1.162 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.8994, allocations: 333.4 kB / 1.163 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.8995, allocations: 58.75 kB / 1.163 GB, free: 18.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.8996, allocations: 139.2 kB / 1.163 GB, free: 18.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.8999, allocations: 221.7 kB / 1.163 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8999, allocations: 4 kB / 1.163 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003552/0.9002, allocations: 262.1 kB / 1.163 GB, free: 17.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9003, allocations: 9.109 kB / 1.163 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.9003, allocations: 4 kB / 1.163 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.9005, allocations: 29.62 kB / 1.163 GB, free: 17.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.9007, allocations: 48.72 kB / 1.163 GB, free: 17.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007425/0.9014, allocations: 1.328 MB / 1.165 GB, free: 16.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.9016, allocations: 27.38 kB / 1.165 GB, free: 16.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.9016, allocations: 11.5 kB / 1.165 GB, free: 16.19 MB / 0.7448 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 () * 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.0001698/0.9018, allocations: 166.2 kB / 1.165 GB, free: 16.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.9018, allocations: 23.72 kB / 1.165 GB, free: 16.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.9019, allocations: 35.78 kB / 1.165 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9019, allocations: 5.031 kB / 1.165 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9019, allocations: 0 / 1.165 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.9019, allocations: 1.406 kB / 1.165 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.9028, allocations: 0.7045 MB / 1.166 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.9028, allocations: 4 kB / 1.166 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.9029, allocations: 18.44 kB / 1.166 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.738e-05/0.903, allocations: 24.34 kB / 1.166 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.903, allocations: 9.375 kB / 1.166 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006857/0.9037, allocations: 1.316 MB / 1.167 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9037, allocations: 4.031 kB / 1.167 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.904, allocations: 306.6 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.9041, allocations: 126 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.9042, allocations: 6.875 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.9043, allocations: 10.72 kB / 1.167 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.9043, allocations: 14.09 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.9044, allocations: 6.297 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001466/0.9045, allocations: 190.8 kB / 1.167 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.9045, allocations: 0 / 1.167 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003702/0.9049, allocations: 82.75 kB / 1.168 GB, free: 13.34 MB / 0.7448 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 () * Number of clocked 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 9.47e-05/0.905, allocations: 104.5 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.9054, allocations: 281.2 kB / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9054, allocations: 0 / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.9056, allocations: 187.3 kB / 1.168 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.9061, allocations: 58.09 kB / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.9069, allocations: 0.6394 MB / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.9072, allocations: 0.7911 MB / 1.17 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.9073, allocations: 47.83 kB / 1.17 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.9074, allocations: 19.44 kB / 1.17 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.9074, allocations: 0 / 1.17 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.005347/0.9127, allocations: 2.524 MB / 1.172 GB, free: 9.984 MB / 0.7448 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)