Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.193/2.193, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001887/0.001887, allocations: 177.1 kB / 377.1 MB, free: 1.512 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.994/1.994, allocations: 205.4 MB / 0.6367 GB, free: 9.562 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.0009659/0.0009659, allocations: 90.55 kB / 0.751 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12 kB / 0.8748 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 116.3 MB / 0.9884 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7353/1.003, allocations: 165.2 MB / 1.15 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.003, allocations: 100.1 kB / 1.15 GB, free: 14.84 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.04653/1.05, allocations: 16.18 MB / 1.166 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.186e-06/1.05, allocations: 0 / 1.166 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.292e-05/1.05, allocations: 15.94 kB / 1.166 GB, free: 1.125 MB / 0.7292 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.001054/1.051, allocations: 0.5743 MB / 1.166 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.051, allocations: 16.02 kB / 1.166 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.052, allocations: 141.5 kB / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/1.052, allocations: 290.4 kB / 1.167 GB, free: 32 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.052, allocations: 25.72 kB / 1.167 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/1.052, allocations: 28.05 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/1.053, allocations: 452.8 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.053, allocations: 7.875 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/1.053, allocations: 12 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/1.053, allocations: 26.27 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/1.054, allocations: 317.9 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/1.056, allocations: 2.189 MB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/1.057, allocations: 252.7 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/1.057, allocations: 4 kB / 1.17 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.057, allocations: 35.62 kB / 1.17 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.057, allocations: 0 / 1.17 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006119/1.057, allocations: 308.6 kB / 1.17 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.057, allocations: 51.41 kB / 1.17 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/1.058, allocations: 241.8 kB / 1.17 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.058, allocations: 25.7 kB / 1.17 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.058, allocations: 211.7 kB / 1.171 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/1.058, allocations: 51.34 kB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.058, allocations: 4 kB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.058, allocations: 330.8 kB / 1.171 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.058, allocations: 60.44 kB / 1.171 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/1.058, allocations: 139.2 kB / 1.171 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/1.058, allocations: 87.86 kB / 1.171 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.058, allocations: 0 / 1.171 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004132/1.059, allocations: 264 kB / 1.171 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.059, allocations: 16.05 kB / 1.172 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.059, allocations: 3.938 kB / 1.172 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/1.059, allocations: 28.84 kB / 1.172 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/1.059, allocations: 47.92 kB / 1.172 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.06, allocations: 1.324 MB / 1.173 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/1.06, allocations: 27.69 kB / 1.173 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.06, allocations: 12 kB / 1.173 GB, free: 8.996 MB / 0.7448 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.0001686/1.061, allocations: 173.9 kB / 1.173 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/1.061, allocations: 27.66 kB / 1.173 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/1.061, allocations: 30.58 kB / 1.173 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/1.061, allocations: 0 / 1.173 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/1.061, allocations: 0 / 1.173 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.061, allocations: 3.984 kB / 1.173 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/1.062, allocations: 0.6274 MB / 1.174 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.062, allocations: 0 / 1.174 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.062, allocations: 29.11 kB / 1.174 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.121e-05/1.062, allocations: 28.8 kB / 1.174 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.062, allocations: 0 / 1.174 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/1.063, allocations: 1.328 MB / 1.175 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.063, allocations: 4.031 kB / 1.175 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/1.063, allocations: 352.7 kB / 1.175 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.063, allocations: 116.8 kB / 1.176 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/1.063, allocations: 3.984 kB / 1.176 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.063, allocations: 15.95 kB / 1.176 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/1.063, allocations: 11.98 kB / 1.176 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.064, allocations: 4 kB / 1.176 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001785/1.064, allocations: 190 kB / 1.176 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 0 / 1.176 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000395/1.064, allocations: 83.75 kB / 1.176 GB, free: 5.695 MB / 0.7448 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.0001296/1.064, allocations: 103.1 kB / 1.176 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004745/1.065, allocations: 282.4 kB / 1.176 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.065, allocations: 0 / 1.176 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/1.065, allocations: 179.2 kB / 1.176 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/1.065, allocations: 58.36 kB / 1.176 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/1.066, allocations: 0.6175 MB / 1.177 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.067, allocations: 0.7989 MB / 1.178 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000167/1.067, allocations: 59.36 kB / 1.178 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/1.067, allocations: 19.44 kB / 1.178 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/1.067, allocations: 0 / 1.178 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.005594/1.072, allocations: 2.434 MB / 1.18 GB, free: 1.129 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)