Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 171.1 kB / 325.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.359/2.359, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 107.4 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 13.97 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.4754, allocations: 157.7 MB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.4758, allocations: 95.95 kB / 1.053 GB, free: 3.488 MB / 0.698 GB [/home/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);. [/home/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);. [/home/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.717/1.193, allocations: 16.19 MB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.193, allocations: 7.594 kB / 1.069 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.851e-05/1.193, allocations: 10.41 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.001225/1.194, allocations: 0.5766 MB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.194, allocations: 12.94 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/1.194, allocations: 69.41 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.196, allocations: 141.6 kB / 1.07 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/1.197, allocations: 291.6 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.197, allocations: 27.34 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/1.197, allocations: 29 kB / 1.07 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.198, allocations: 452.7 kB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.198, allocations: 4.781 kB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/1.198, allocations: 18.11 kB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/1.198, allocations: 22.73 kB / 1.07 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/1.199, allocations: 319.5 kB / 1.071 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/1.202, allocations: 2.182 MB / 1.073 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/1.202, allocations: 245.3 kB / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/1.202, allocations: 0.9375 kB / 1.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.203, allocations: 40.08 kB / 1.073 GB, free: 151.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.236e-06/1.203, allocations: 0 / 1.073 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000883/1.203, allocations: 316.7 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.203, allocations: 53.25 kB / 1.073 GB, free: 151.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/1.204, allocations: 236.7 kB / 1.074 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/1.204, allocations: 31.42 kB / 1.074 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.204, allocations: 207.3 kB / 1.074 GB, free: 151 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/1.204, allocations: 49.56 kB / 1.074 GB, free: 151 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/1.204, allocations: 4.844 kB / 1.074 GB, free: 151 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/1.204, allocations: 341.8 kB / 1.074 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/1.204, allocations: 55.12 kB / 1.074 GB, free: 150.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.205, allocations: 136.1 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/1.205, allocations: 86.64 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.205, allocations: 0.8438 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006831/1.206, allocations: 272.8 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.206, allocations: 6.625 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.206, allocations: 2.719 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/1.206, allocations: 31.2 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/1.206, allocations: 45.66 kB / 1.075 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/1.207, allocations: 1.331 MB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/1.208, allocations: 32.66 kB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.208, allocations: 7.812 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.0002677/1.208, allocations: 169.3 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/1.208, allocations: 27.69 kB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/1.208, allocations: 30.98 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.208, allocations: 2.094 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.208, allocations: 0 / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.208, allocations: 5.266 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.209, allocations: 0.6282 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.209, allocations: 1.25 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/1.21, allocations: 24.12 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/1.21, allocations: 32.47 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/1.21, allocations: 1.188 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/1.211, allocations: 1.324 MB / 1.078 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.211, allocations: 1.344 kB / 1.078 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/1.211, allocations: 357.6 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.212, allocations: 118.4 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/1.212, allocations: 2.5 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/1.212, allocations: 14.42 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/1.212, allocations: 13.78 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/1.212, allocations: 8.031 kB / 1.079 GB, free: 147 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002626/1.212, allocations: 191.6 kB / 1.079 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.212, allocations: 0 / 1.079 GB, free: 146.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005996/1.213, allocations: 76.72 kB / 1.079 GB, free: 146.9 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.0007427/1.214, allocations: 1.161 MB / 1.08 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007161/1.214, allocations: 272.7 kB / 1.08 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.214, allocations: 1.438 kB / 1.08 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002936/1.215, allocations: 182.9 kB / 1.081 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/1.215, allocations: 59.05 kB / 1.081 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/1.219, allocations: 3.173 MB / 1.084 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/1.219, allocations: 0.7991 MB / 1.085 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003033/1.22, allocations: 47.09 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.22, allocations: 83.5 kB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.22, allocations: 0 / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/1.255, allocations: 4.847 MB / 1.089 GB, free: 140.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/1.256, allocations: 198.3 kB / 1.09 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.727, allocations: 0.5312 kB / 1.09 GB, free: 139.8 MB / 0.698 GB