Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",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.305/2.305, allocations: 251 MB / 265.9 MB, free: 11.68 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.00153/0.001529, allocations: 181.9 kB / 325.5 MB, free: 2.91 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.494/2.494, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001123/0.001123, allocations: 100.6 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004772, allocations: 16.19 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.205, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.4746, allocations: 153.5 MB / 1.049 GB, free: 8.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.475, allocations: 95.94 kB / 1.049 GB, free: 8.16 MB / 0.698 GB [/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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.606/1.081, allocations: 9.556 MB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.081, allocations: 4.344 kB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.081, allocations: 6.031 kB / 1.058 GB, free: 153.2 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006171/1.082, allocations: 431.2 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.082, allocations: 11.03 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.707e-05/1.082, allocations: 51.08 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/1.082, allocations: 57.61 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/1.083, allocations: 214.5 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.083, allocations: 9.5 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/1.083, allocations: 13.47 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/1.083, allocations: 222.7 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.083, allocations: 1.078 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/1.083, allocations: 7.859 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/1.083, allocations: 12.22 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/1.084, allocations: 148.8 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/1.085, allocations: 1.145 MB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/1.085, allocations: 30.22 kB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/1.085, allocations: 1.312 kB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/1.085, allocations: 30.56 kB / 1.06 GB, free: 151.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/1.085, allocations: 0 / 1.06 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002126/1.085, allocations: 72.09 kB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.085, allocations: 53.75 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.086, allocations: 160.9 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/1.086, allocations: 25.7 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/1.086, allocations: 144.6 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/1.086, allocations: 15.33 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/1.086, allocations: 2.438 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/1.086, allocations: 320.6 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/1.086, allocations: 25.03 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/1.086, allocations: 90.06 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/1.086, allocations: 36.95 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.086, allocations: 3.469 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/1.086, allocations: 145.7 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.087, allocations: 0.9575 MB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.087, allocations: 3.156 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.087, allocations: 3.125 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/1.087, allocations: 25.62 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.087, allocations: 3.219 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/1.087, allocations: 20.25 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.087, allocations: 7.891 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/1.087, allocations: 6.75 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002095/1.087, allocations: 96.28 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.087, allocations: 2.781 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.087, allocations: 5.594 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.088, allocations: 22.05 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.088, allocations: 7.578 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/1.088, allocations: 21.06 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.088, allocations: 8.359 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.088, allocations: 215.1 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/1.088, allocations: 8.984 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/1.088, allocations: 14.59 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.088, allocations: 0 / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.088, allocations: 2.594 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.088, allocations: 0.5625 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/1.089, allocations: 455.2 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.089, allocations: 2.656 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/1.089, allocations: 3.516 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.089, allocations: 3.625 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.089, allocations: 7.141 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.089, allocations: 4.656 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.089, allocations: 3.469 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/1.089, allocations: 127.8 kB / 1.063 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/1.089, allocations: 92.88 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/1.089, allocations: 0.7031 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/1.089, allocations: 6.156 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/1.089, allocations: 6.844 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.089, allocations: 2.938 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001251/1.089, allocations: 126.5 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.192e-06/1.089, allocations: 2.625 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004843/1.09, allocations: 53.69 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000394/1.09, allocations: 0.7962 MB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002956/1.09, allocations: 112.1 kB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.09, allocations: 0 / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/1.09, allocations: 14.41 kB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/1.091, allocations: 16.08 kB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/1.093, allocations: 2.293 MB / 1.067 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.093, allocations: 0.7267 MB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001739/1.093, allocations: 28.83 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/1.093, allocations: 36.06 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.093, allocations: 1.531 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/1.114, allocations: 2.12 MB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.115, allocations: 189 kB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.468, allocations: 0 / 1.07 GB, free: 144.7 MB / 0.698 GB