Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.568/1.568, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 186.7 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 92.84 kB / 0.7808 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005906/0.0005909, allocations: 8 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.579, allocations: 120.3 MB / 1.026 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.7715, allocations: 167.7 MB / 1.19 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.7718, allocations: 93.27 kB / 1.19 GB, free: 6.336 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/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 9.0.0-master/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.0419/0.8137, allocations: 18.07 MB / 1.208 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8138, allocations: 0 / 1.208 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.8138, allocations: 8 kB / 1.208 GB, free: 4.121 MB / 0.7761 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.001173/0.815, allocations: 0.577 MB / 1.208 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.815, allocations: 8.031 kB / 1.208 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.8161, allocations: 140.4 kB / 1.209 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.8166, allocations: 293 kB / 1.209 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.8167, allocations: 32.95 kB / 1.209 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.8167, allocations: 28.36 kB / 1.209 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.8174, allocations: 444.2 kB / 1.209 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.8174, allocations: 8.172 kB / 1.209 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.8175, allocations: 19.92 kB / 1.209 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.8175, allocations: 24.56 kB / 1.209 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.818, allocations: 317.9 kB / 1.21 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.8204, allocations: 2.185 MB / 1.212 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.8208, allocations: 259.7 kB / 1.212 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.821, allocations: 112.8 kB / 1.212 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.821, allocations: 0 / 1.212 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.8211, allocations: 42.5 kB / 1.212 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.8211, allocations: 0 / 1.212 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of matching and sorting (n=14): time 0.0005996/0.8217, allocations: 301.9 kB / 1.212 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.8217, allocations: 55.41 kB / 1.213 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.822, allocations: 262.6 kB / 1.213 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.822, allocations: 29.7 kB / 1.213 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.8222, allocations: 215.7 kB / 1.213 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.8222, allocations: 39.36 kB / 1.213 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.8222, allocations: 11.94 kB / 1.213 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8224, allocations: 342.8 kB / 1.213 GB, free: 14 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.8225, allocations: 52.44 kB / 1.213 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.8226, allocations: 140.1 kB / 1.214 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.8229, allocations: 220.4 kB / 1.214 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8229, allocations: 0 / 1.214 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004285/0.8234, allocations: 262.6 kB / 1.214 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8234, allocations: 8 kB / 1.214 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8234, allocations: 4 kB / 1.214 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.8236, allocations: 28.78 kB / 1.214 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.8238, allocations: 47.92 kB / 1.214 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.8248, allocations: 1.319 MB / 1.215 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.825, allocations: 31.72 kB / 1.215 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.825, allocations: 12.16 kB / 1.215 GB, free: 11.66 MB / 0.7917 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.0001669/0.8252, allocations: 165.8 kB / 1.216 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.8253, allocations: 23.72 kB / 1.216 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.8253, allocations: 29.77 kB / 1.216 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8253, allocations: 4 kB / 1.216 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8254, allocations: 0 / 1.216 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8254, allocations: 0 / 1.216 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.8263, allocations: 0.7025 MB / 1.216 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8263, allocations: 0 / 1.216 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.8264, allocations: 28.3 kB / 1.216 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.8265, allocations: 28.84 kB / 1.216 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.8265, allocations: 11.94 kB / 1.216 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.8274, allocations: 1.323 MB / 1.218 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8274, allocations: 0 / 1.218 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.8277, allocations: 311.1 kB / 1.218 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8278, allocations: 116.7 kB / 1.218 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.8279, allocations: 8 kB / 1.218 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.828, allocations: 11.98 kB / 1.218 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.8281, allocations: 23.92 kB / 1.218 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.8281, allocations: 7.938 kB / 1.218 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001685/0.8283, allocations: 190 kB / 1.218 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8283, allocations: 0 / 1.218 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003724/0.8287, allocations: 71.84 kB / 1.218 GB, free: 8.34 MB / 0.7917 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.0001088/0.8288, allocations: 99.25 kB / 1.219 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.8292, allocations: 282.8 kB / 1.219 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8292, allocations: 0 / 1.219 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.8294, allocations: 187.5 kB / 1.219 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.8299, allocations: 60.58 kB / 1.219 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.8308, allocations: 0.6399 MB / 1.22 GB, free: 7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.8312, allocations: 0.7872 MB / 1.22 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.8313, allocations: 42.27 kB / 1.22 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.8314, allocations: 19.44 kB / 1.22 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of SimCode: time 2.41e-07/0.8314, allocations: 4 kB / 1.22 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of Templates: time 0.005657/0.8371, allocations: 2.524 MB / 1.223 GB, free: 3.633 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)