Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.621/2.621, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 175.5 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.748/2.748, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 86.42 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 14.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003287/0.2159, allocations: 2.111 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2174, allocations: 0.721 MB / 0.9016 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2175, allocations: 4 kB / 0.9016 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2177, allocations: 27.83 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.218, allocations: 67.75 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2184, allocations: 90.39 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.2186, allocations: 103.8 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2189, allocations: 175.2 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.219, allocations: 55.78 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2192, allocations: 51.81 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.2192, allocations: 8 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2194, allocations: 47.91 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.2195, allocations: 47.89 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.2195, allocations: 45.64 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.2198, allocations: 163.9 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2198, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2198, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2198, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 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.0005982/0.2204, allocations: 435 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2205, allocations: 12.02 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.221, allocations: 47.73 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.2213, allocations: 218.8 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2213, allocations: 8.281 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.2214, allocations: 12 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.2218, allocations: 223 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2219, allocations: 3.938 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.2219, allocations: 8 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.222, allocations: 20.25 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.2223, allocations: 144.7 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2235, allocations: 1.134 MB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.2236, allocations: 46.52 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2237, allocations: 0 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2237, allocations: 30.56 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2237, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002509/0.224, allocations: 85.61 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.224, allocations: 51.41 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2242, allocations: 167.7 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2242, allocations: 29.7 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.2243, allocations: 143.3 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2243, allocations: 11.89 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.2243, allocations: 4 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.2244, allocations: 314.8 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.2245, allocations: 23.98 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.2246, allocations: 89.38 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.2247, allocations: 36 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2247, allocations: 3.938 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002544/0.225, allocations: 141.5 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2252, allocations: 0.9599 MB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2252, allocations: 4 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2253, allocations: 4 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2255, allocations: 31.92 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2255, allocations: 4 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2256, allocations: 15.75 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2256, allocations: 8 kB / 0.9068 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.2256, allocations: 6.031 kB / 0.9068 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002016/0.2259, allocations: 103.7 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2259, allocations: 0 / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.2259, allocations: 4 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.226, allocations: 23.94 kB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.226, allocations: 11.98 kB / 0.9069 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.2261, allocations: 16.16 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2262, allocations: 8 kB / 0.907 GB, free: 56.72 MB / 0.6042 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.0001277/0.2263, allocations: 220.9 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.2263, allocations: 7.906 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.2264, allocations: 12.94 kB / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2264, allocations: 0 / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2264, allocations: 0 / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2264, allocations: 288 / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.2269, allocations: 477.1 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2269, allocations: 0 / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.227, allocations: 11.94 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.227, allocations: 7.922 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.227, allocations: 4 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.227, allocations: 3.953 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2271, allocations: 0 / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2272, allocations: 152.7 kB / 0.9078 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2273, allocations: 93.02 kB / 0.9079 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2273, allocations: 0 / 0.9079 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.2274, allocations: 7.938 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.2274, allocations: 7.984 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2274, allocations: 0 / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2275, allocations: 130.7 kB / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2275, allocations: 0 / 0.9081 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004886/0.228, allocations: 51.84 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.963e-05/0.2281, allocations: 99.25 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.2284, allocations: 103.7 kB / 0.9083 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2284, allocations: 0 / 0.9083 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.2285, allocations: 21.23 kB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2288, allocations: 24.17 kB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.2294, allocations: 320.8 kB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2296, allocations: 0.728 MB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.2298, allocations: 24.62 kB / 0.9094 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.2298, allocations: 15.44 kB / 0.9094 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2298, allocations: 0 / 0.9094 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.003956/0.2338, allocations: 0.7929 MB / 0.9102 GB, free: 53.22 MB / 0.6042 GB