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.337/2.337, allocations: 251 MB / 265.9 MB, free: 11.7 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.001586/0.001586, allocations: 178.1 kB / 325.5 MB, free: 2.906 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.507/2.507, 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.001097/0.001097, allocations: 94.64 kB / 0.6809 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004906, allocations: 15.75 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2663, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.5367, allocations: 158.4 MB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.5372, allocations: 95.94 kB / 1.054 GB, free: 3.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6936/1.231, allocations: 16.57 MB / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/1.231, allocations: 0 / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.231, allocations: 5.625 kB / 1.07 GB, free: 154.8 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001187/1.232, allocations: 0.5285 MB / 1.07 GB, free: 154.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.232, allocations: 9.562 kB / 1.07 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.998e-05/1.232, allocations: 58.95 kB / 1.07 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.234, allocations: 96.14 kB / 1.07 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/1.234, allocations: 262.2 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.234, allocations: 20.19 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/1.234, allocations: 23.03 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/1.235, allocations: 363.2 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.235, allocations: 1.031 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/1.235, allocations: 9.781 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/1.235, allocations: 26.98 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/1.236, allocations: 307.5 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/1.239, allocations: 1.521 MB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/1.239, allocations: 232.7 kB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/1.24, allocations: 91.08 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/1.24, allocations: 36 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/1.24, allocations: 0 / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001877/1.242, allocations: 0.7847 MB / 1.074 GB, free: 152.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/1.242, allocations: 52.88 kB / 1.074 GB, free: 152.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.242, allocations: 176.6 kB / 1.074 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.242, allocations: 34.7 kB / 1.074 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/1.242, allocations: 167.1 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/1.242, allocations: 65.09 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/1.242, allocations: 4.875 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/1.242, allocations: 329.9 kB / 1.075 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/1.243, allocations: 113 kB / 1.075 GB, free: 151.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.243, allocations: 178.6 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/1.243, allocations: 128.4 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.243, allocations: 5.047 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001161/1.244, allocations: 413.2 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.244, allocations: 5.75 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.244, allocations: 2.156 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/1.245, allocations: 107.6 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/1.246, allocations: 49.5 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/1.248, allocations: 1.762 MB / 1.077 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/1.248, allocations: 15.22 kB / 1.077 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.248, allocations: 8.562 kB / 1.077 GB, free: 150.3 MB / 0.698 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 () * Number of clocked 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.0002407/1.249, allocations: 156.3 kB / 1.078 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/1.249, allocations: 19.28 kB / 1.078 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/1.25, allocations: 305.1 kB / 1.078 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.25, allocations: 5.938 kB / 1.078 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.25, allocations: 1.031 kB / 1.078 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.25, allocations: 7.891 kB / 1.078 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/1.251, allocations: 0.6968 MB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.251, allocations: 8.359 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/1.252, allocations: 54.61 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/1.252, allocations: 2.188 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/1.252, allocations: 9.266 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.252, allocations: 9 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.252, allocations: 0.9375 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.253, allocations: 0.5317 MB / 1.079 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.253, allocations: 125.8 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/1.253, allocations: 4.562 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/1.253, allocations: 14.58 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/1.253, allocations: 9.297 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.253, allocations: 5.188 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001781/1.254, allocations: 144.2 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.254, allocations: 11.88 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005816/1.254, allocations: 74.5 kB / 1.08 GB, free: 149.4 MB / 0.698 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 () * Number of clocked 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.001292/1.255, allocations: 1.234 MB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001072/1.257, allocations: 419.9 kB / 1.081 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.257, allocations: 1.125 kB / 1.081 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/1.257, allocations: 125.8 kB / 1.081 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.257, allocations: 41.41 kB / 1.081 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/1.261, allocations: 2.578 MB / 1.084 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/1.262, allocations: 0.783 MB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003373/1.262, allocations: 59.64 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.262, allocations: 63.92 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.262, allocations: 0 / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/1.29, allocations: 4.645 MB / 1.089 GB, free: 143.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.291, allocations: 221.1 kB / 1.09 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.826, allocations: 0 / 1.09 GB, free: 143.1 MB / 0.698 GB