Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003969/0.003969, allocations: 174.9 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 95.86 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 9.562 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2612/0.4726, allocations: 157.7 MB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/0.4731, allocations: 95.94 kB / 1.053 GB, free: 3.488 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.6733/1.146, allocations: 16.19 MB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.146, allocations: 0 / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.169e-05/1.147, allocations: 7.578 kB / 1.069 GB, free: 154.3 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.002032/1.149, allocations: 0.5697 MB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/1.149, allocations: 12.62 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/1.152, allocations: 145.8 kB / 1.07 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/1.153, allocations: 292.3 kB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/1.153, allocations: 29.2 kB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.153, allocations: 24.64 kB / 1.07 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.155, allocations: 453.2 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.155, allocations: 9 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/1.155, allocations: 15.8 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/1.155, allocations: 27.22 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/1.157, allocations: 315.4 kB / 1.071 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/1.162, allocations: 2.181 MB / 1.073 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/1.163, allocations: 248.1 kB / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.163, allocations: 1.438 kB / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.163, allocations: 44.38 kB / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.607e-06/1.163, allocations: 0 / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001329/1.164, allocations: 314 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/1.164, allocations: 53.53 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/1.165, allocations: 237.8 kB / 1.074 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/1.165, allocations: 27.58 kB / 1.074 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/1.165, allocations: 212.4 kB / 1.074 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/1.165, allocations: 49.19 kB / 1.074 GB, free: 151 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/1.165, allocations: 4.469 kB / 1.074 GB, free: 151 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.166, allocations: 338.2 kB / 1.074 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/1.166, allocations: 56.28 kB / 1.074 GB, free: 150.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/1.166, allocations: 146.6 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/1.167, allocations: 80.64 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.167, allocations: 1 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001139/1.168, allocations: 260.3 kB / 1.075 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.168, allocations: 7.562 kB / 1.075 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.168, allocations: 2.719 kB / 1.075 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/1.168, allocations: 34.59 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/1.169, allocations: 53.52 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/1.171, allocations: 1.326 MB / 1.076 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/1.171, allocations: 31.56 kB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/1.171, allocations: 11.78 kB / 1.076 GB, free: 149.2 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.0003922/1.172, allocations: 166.4 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.172, allocations: 22.84 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.172, allocations: 36.22 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/1.172, allocations: 2 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.172, allocations: 0 / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.172, allocations: 9.234 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.174, allocations: 0.6253 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.174, allocations: 5.375 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/1.174, allocations: 24.97 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/1.175, allocations: 23.52 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.175, allocations: 6.219 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/1.176, allocations: 1.32 MB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.176, allocations: 1.156 kB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/1.177, allocations: 352.6 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/1.177, allocations: 123.7 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/1.177, allocations: 6.625 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/1.178, allocations: 11.03 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/1.178, allocations: 14.34 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/1.178, allocations: 7.562 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004408/1.179, allocations: 189.4 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.72e-07/1.179, allocations: 0 / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/1.18, allocations: 76.28 kB / 1.079 GB, free: 147 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.0002456/1.18, allocations: 107.9 kB / 1.079 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.181, allocations: 267.6 kB / 1.079 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.181, allocations: 0 / 1.079 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/1.182, allocations: 187.6 kB / 1.08 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.183, allocations: 55.61 kB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/1.185, allocations: 0.6309 MB / 1.08 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/1.186, allocations: 0.7983 MB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005058/1.187, allocations: 43.48 kB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.187, allocations: 19.41 kB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.187, allocations: 4 kB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0146/1.201, allocations: 2.435 MB / 1.084 GB, free: 144.3 MB / 0.698 GB