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.241/2.241, allocations: 248.7 MB / 256.2 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 175.6 kB / 315.4 MB, free: 4.039 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.03/2.03, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 86.34 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.122e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9228/1.145, allocations: 153.7 MB / 1.034 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.146, allocations: 87.2 kB / 1.034 GB, free: 3.027 MB / 0.6511 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.03399/1.18, allocations: 9.449 MB / 1.044 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.398e-06/1.18, allocations: 0 / 1.044 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.18, allocations: 3.938 kB / 1.044 GB, free: 11.41 MB / 0.6667 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.0006235/1.18, allocations: 428.6 kB / 1.044 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.18, allocations: 8.031 kB / 1.044 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/1.181, allocations: 56.06 kB / 1.044 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.181, allocations: 217.8 kB / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.181, allocations: 4 kB / 1.044 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/1.181, allocations: 8 kB / 1.044 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003419/1.182, allocations: 124 kB / 1.044 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/1.182, allocations: 210.5 kB / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.182, allocations: 0 / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/1.182, allocations: 0 / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/1.182, allocations: 19.39 kB / 1.045 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/1.184, allocations: 1.082 MB / 1.046 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/1.184, allocations: 29.66 kB / 1.046 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/1.184, allocations: 20.5 kB / 1.046 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/1.184, allocations: 0 / 1.046 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.184, allocations: 30.56 kB / 1.046 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/1.184, allocations: 0 / 1.046 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001888/1.184, allocations: 52.84 kB / 1.046 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.184, allocations: 55.41 kB / 1.046 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.184, allocations: 142.7 kB / 1.046 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/1.184, allocations: 25.7 kB / 1.046 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.184, allocations: 149.6 kB / 1.046 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/1.184, allocations: 7.812 kB / 1.046 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/1.184, allocations: 0 / 1.046 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.185, allocations: 322.8 kB / 1.046 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/1.185, allocations: 14.81 kB / 1.046 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/1.185, allocations: 88.88 kB / 1.046 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/1.185, allocations: 34.95 kB / 1.047 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.185, allocations: 0 / 1.047 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002743/1.185, allocations: 123.8 kB / 1.047 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003964/1.186, allocations: 0.9634 MB / 1.048 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.186, allocations: 4 kB / 1.048 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.186, allocations: 4 kB / 1.048 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.186, allocations: 31.86 kB / 1.048 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.186, allocations: 4 kB / 1.048 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/1.186, allocations: 11.84 kB / 1.048 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/1.186, allocations: 4 kB / 1.048 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/1.186, allocations: 4 kB / 1.048 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002043/1.186, allocations: 87.33 kB / 1.048 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.186, allocations: 4 kB / 1.048 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/1.186, allocations: 4 kB / 1.048 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.186, allocations: 27.98 kB / 1.048 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.186, allocations: 3.938 kB / 1.048 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/1.187, allocations: 7.938 kB / 1.048 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.187, allocations: 12.06 kB / 1.048 GB, free: 6.902 MB / 0.6667 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 () * 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 9.198e-05/1.187, allocations: 108.9 kB / 1.048 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001227/1.187, allocations: 57.47 kB / 1.048 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/1.187, allocations: 7.906 kB / 1.048 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/1.187, allocations: 16.2 kB / 1.048 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.187, allocations: 0 / 1.048 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.187, allocations: 0 / 1.048 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.187, allocations: 3.953 kB / 1.048 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/1.188, allocations: 411.5 kB / 1.048 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.188, allocations: 0 / 1.048 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.188, allocations: 7.984 kB / 1.048 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.188, allocations: 4 kB / 1.048 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.188, allocations: 0 / 1.048 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/1.188, allocations: 3.953 kB / 1.048 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.188, allocations: 0 / 1.048 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/1.188, allocations: 121.2 kB / 1.049 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/1.188, allocations: 92.95 kB / 1.049 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/1.188, allocations: 0 / 1.049 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/1.188, allocations: 0 / 1.049 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/1.188, allocations: 8 kB / 1.049 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.188, allocations: 0 / 1.049 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 9.637e-05/1.188, allocations: 111.2 kB / 1.049 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.188, allocations: 0 / 1.049 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005193/1.189, allocations: 55.78 kB / 1.049 GB, free: 5.84 MB / 0.6667 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 () * 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.000533/1.189, allocations: 0.7878 MB / 1.05 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002616/1.19, allocations: 92.89 kB / 1.05 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.19, allocations: 0 / 1.05 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/1.19, allocations: 10.88 kB / 1.05 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/1.19, allocations: 27.83 kB / 1.05 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/1.191, allocations: 212.6 kB / 1.05 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/1.191, allocations: 0.7305 MB / 1.051 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001681/1.191, allocations: 32.64 kB / 1.051 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/1.191, allocations: 33.67 kB / 1.051 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of SimCode: time 8.22e-07/1.191, allocations: 0 / 1.051 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/1.226, allocations: 1.644 MB / 1.052 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.227, allocations: 153.7 kB / 1.052 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.466, allocations: 0 / 1.052 GB, free: 2.055 MB / 0.6667 GB