Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.22/2.22, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001491/0.001491, allocations: 186.4 kB / 315.4 MB, free: 3.988 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.366/2.366, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001094/0.001094, allocations: 91.81 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.218e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.237, allocations: 158.6 MB / 1.039 GB, free: 14 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/1.238, allocations: 98.05 kB / 1.039 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06877/1.306, allocations: 16.41 MB / 1.055 GB, free: 296 kB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/1.306, allocations: 0 / 1.055 GB, free: 296 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.143e-05/1.306, allocations: 4 kB / 1.055 GB, free: 292 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001126/1.308, allocations: 0.5171 MB / 1.056 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.308, allocations: 8.031 kB / 1.056 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.309, allocations: 95.61 kB / 1.056 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/1.309, allocations: 263 kB / 1.056 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.31, allocations: 12 kB / 1.056 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/1.31, allocations: 12 kB / 1.056 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006064/1.31, allocations: 225.4 kB / 1.056 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/1.311, allocations: 324.4 kB / 1.056 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/1.311, allocations: 3.938 kB / 1.056 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/1.311, allocations: 4 kB / 1.056 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/1.311, allocations: 23.86 kB / 1.057 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/1.314, allocations: 1.475 MB / 1.058 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/1.315, allocations: 222.3 kB / 1.058 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/1.315, allocations: 105.4 kB / 1.058 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/1.315, allocations: 89.05 kB / 1.058 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.315, allocations: 34.06 kB / 1.058 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.005e-06/1.315, allocations: 0 / 1.058 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.002064/1.317, allocations: 0.719 MB / 1.059 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.317, allocations: 55.41 kB / 1.059 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/1.317, allocations: 155.9 kB / 1.059 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.317, allocations: 25.7 kB / 1.059 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.318, allocations: 162.1 kB / 1.059 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/1.318, allocations: 67.62 kB / 1.06 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/1.318, allocations: 0 / 1.06 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.318, allocations: 325.5 kB / 1.06 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/1.318, allocations: 107.6 kB / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/1.318, allocations: 164.9 kB / 1.06 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/1.319, allocations: 150.7 kB / 1.06 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.319, allocations: 0 / 1.06 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001296/1.32, allocations: 413.8 kB / 1.061 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.32, allocations: 4 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.32, allocations: 4 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/1.321, allocations: 95.2 kB / 1.061 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/1.321, allocations: 51.16 kB / 1.061 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/1.324, allocations: 1.662 MB / 1.062 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/1.324, allocations: 12.02 kB / 1.062 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/1.324, allocations: 8.188 kB / 1.062 GB, free: 9.254 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/1.325, allocations: 109 kB / 1.063 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007702/1.325, allocations: 278 kB / 1.063 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/1.325, allocations: 19.12 kB / 1.063 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008374/1.326, allocations: 293.5 kB / 1.063 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.326, allocations: 4 kB / 1.063 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.326, allocations: 0 / 1.063 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.326, allocations: 3.984 kB / 1.063 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.328, allocations: 0.6632 MB / 1.064 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.328, allocations: 0 / 1.064 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/1.328, allocations: 51.95 kB / 1.064 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.328, allocations: 4 kB / 1.064 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/1.328, allocations: 0 / 1.064 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.329, allocations: 4 kB / 1.064 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.329, allocations: 3.938 kB / 1.064 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.33, allocations: 0.5344 MB / 1.064 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/1.33, allocations: 119 kB / 1.064 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.33, allocations: 0 / 1.064 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.33, allocations: 15.94 kB / 1.064 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/1.33, allocations: 12.05 kB / 1.064 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.33, allocations: 10.56 kB / 1.064 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001724/1.331, allocations: 136.5 kB / 1.065 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.331, allocations: 0 / 1.065 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006086/1.331, allocations: 74.61 kB / 1.065 GB, free: 7.238 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00171/1.333, allocations: 1.226 MB / 1.066 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.334, allocations: 392.5 kB / 1.066 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.334, allocations: 4.125 kB / 1.066 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/1.334, allocations: 121.9 kB / 1.066 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/1.335, allocations: 23.05 kB / 1.066 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/1.337, allocations: 0.5497 MB / 1.067 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/1.337, allocations: 0.7842 MB / 1.068 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003334/1.338, allocations: 66.02 kB / 1.068 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/1.338, allocations: 61.97 kB / 1.068 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/1.338, allocations: 4 kB / 1.068 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/1.378, allocations: 4.107 MB / 1.072 GB, free: 156 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.379, allocations: 163.4 kB / 1.072 GB, free: 15.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.735, allocations: 0 / 1.072 GB, free: 15.96 MB / 0.698 GB