Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.0013/0.0013, allocations: 176.4 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.00092/0.0009199, allocations: 93.5 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007681/0.0007683, allocations: 16.08 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2236, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.205, allocations: 164 MB / 1.139 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.206, allocations: 101.9 kB / 1.14 GB, free: 14.25 MB / 0.6823 GB [/home/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);. [/home/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);. [/home/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.05875/1.264, allocations: 16.19 MB / 1.155 GB, free: 22.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.264, allocations: 0 / 1.155 GB, free: 22.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.419e-05/1.265, allocations: 11.94 kB / 1.155 GB, free: 22.05 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.001812/1.266, allocations: 0.5745 MB / 1.156 GB, free: 21.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/1.266, allocations: 8.031 kB / 1.156 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/1.269, allocations: 140.4 kB / 1.156 GB, free: 21.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.27, allocations: 296 kB / 1.156 GB, free: 21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/1.271, allocations: 24.33 kB / 1.156 GB, free: 20.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.271, allocations: 27 kB / 1.156 GB, free: 20.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.272, allocations: 452.5 kB / 1.157 GB, free: 20.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/1.272, allocations: 8.062 kB / 1.157 GB, free: 20.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.273, allocations: 17.31 kB / 1.157 GB, free: 20.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/1.273, allocations: 28.36 kB / 1.157 GB, free: 20.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/1.274, allocations: 315.1 kB / 1.157 GB, free: 20.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/1.278, allocations: 2.193 MB / 1.159 GB, free: 18.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/1.279, allocations: 248.1 kB / 1.16 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.28, allocations: 115.7 kB / 1.16 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/1.28, allocations: 8 kB / 1.16 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.28, allocations: 37.75 kB / 1.16 GB, free: 17.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 5.22e-06/1.28, allocations: 0 / 1.16 GB, free: 17.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001188/1.281, allocations: 296.5 kB / 1.16 GB, free: 17.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/1.281, allocations: 51.41 kB / 1.16 GB, free: 17.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/1.282, allocations: 272.9 kB / 1.16 GB, free: 17.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/1.282, allocations: 29.7 kB / 1.16 GB, free: 17.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/1.282, allocations: 204.3 kB / 1.161 GB, free: 17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/1.282, allocations: 45.86 kB / 1.161 GB, free: 16.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/1.282, allocations: 5.375 kB / 1.161 GB, free: 16.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.282, allocations: 335 kB / 1.161 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/1.283, allocations: 53.06 kB / 1.161 GB, free: 16.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/1.283, allocations: 145.8 kB / 1.161 GB, free: 16.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/1.284, allocations: 218.6 kB / 1.161 GB, free: 16.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.284, allocations: 4 kB / 1.161 GB, free: 16.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009853/1.285, allocations: 263.5 kB / 1.162 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.285, allocations: 4.375 kB / 1.162 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.285, allocations: 8 kB / 1.162 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/1.285, allocations: 28.47 kB / 1.162 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/1.286, allocations: 51.41 kB / 1.162 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.287, allocations: 1.314 MB / 1.163 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/1.288, allocations: 31.42 kB / 1.163 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/1.288, allocations: 8.094 kB / 1.163 GB, free: 14.51 MB / 0.698 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.0003881/1.288, allocations: 176.8 kB / 1.163 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.289, allocations: 23.81 kB / 1.163 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/1.289, allocations: 35.03 kB / 1.163 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/1.289, allocations: 0 / 1.163 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.289, allocations: 3.984 kB / 1.163 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.289, allocations: 3.984 kB / 1.163 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/1.291, allocations: 0.7028 MB / 1.164 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/1.291, allocations: 4 kB / 1.164 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/1.291, allocations: 27.8 kB / 1.164 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/1.291, allocations: 20.78 kB / 1.164 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.291, allocations: 6.938 kB / 1.164 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.293, allocations: 1.316 MB / 1.165 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.293, allocations: 8.125 kB / 1.165 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/1.294, allocations: 317.3 kB / 1.166 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/1.294, allocations: 124 kB / 1.166 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/1.294, allocations: 0 / 1.166 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/1.295, allocations: 11.94 kB / 1.166 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/1.295, allocations: 11.98 kB / 1.166 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/1.295, allocations: 7.562 kB / 1.166 GB, free: 11.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004032/1.295, allocations: 189.4 kB / 1.166 GB, free: 11.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.82e-07/1.296, allocations: 4 kB / 1.166 GB, free: 11.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009413/1.296, allocations: 78.62 kB / 1.166 GB, free: 11.46 MB / 0.698 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 0.0001956/1.297, allocations: 100.1 kB / 1.166 GB, free: 11.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009559/1.298, allocations: 286 kB / 1.166 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/1.298, allocations: 0 / 1.166 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/1.298, allocations: 178.2 kB / 1.167 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.299, allocations: 64.62 kB / 1.167 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/1.301, allocations: 0.6422 MB / 1.167 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/1.302, allocations: 0.7936 MB / 1.168 GB, free: 9.426 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004237/1.302, allocations: 42.27 kB / 1.168 GB, free: 9.387 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/1.303, allocations: 21.81 kB / 1.168 GB, free: 9.371 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.303, allocations: 0 / 1.168 GB, free: 9.371 MB / 0.698 GB Notification: Performance of Templates: time 0.01459/1.317, allocations: 2.495 MB / 1.17 GB, free: 6.91 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)