Running: ./testmodel.py --libraries=/var/lib/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 (/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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.546/2.546, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.002292/0.002292, allocations: 181.1 kB / 325.6 MB, free: 2.844 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.589/2.589, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001172/0.001172, allocations: 91.19 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 19.38 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003966/0.2161, allocations: 2.618 MB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.2192, allocations: 1.587 MB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2194, allocations: 7.938 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2196, allocations: 39.77 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.2201, allocations: 139.6 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.2207, allocations: 139.6 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.221, allocations: 179.6 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009862/0.222, allocations: 495.2 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2222, allocations: 91.67 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.2225, allocations: 103.6 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.2225, allocations: 12 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.223, allocations: 135.8 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2231, allocations: 91.78 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.2232, allocations: 61.58 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2236, allocations: 311.5 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2236, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2237, allocations: 0 / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2237, allocations: 0 / 0.9047 GB, free: 59.46 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001037/0.2247, allocations: 0.5067 MB / 0.9052 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2248, allocations: 12.03 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.2259, allocations: 99.61 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.2263, allocations: 255.6 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2264, allocations: 20.42 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2265, allocations: 27.98 kB / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.2273, allocations: 368.9 kB / 0.906 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2274, allocations: 4 kB / 0.906 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.2274, allocations: 11.98 kB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.2276, allocations: 32.41 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.2283, allocations: 301.5 kB / 0.9063 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.2306, allocations: 1.537 MB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.2313, allocations: 228.7 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2315, allocations: 81.11 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2315, allocations: 42.55 kB / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.875e-06/0.2315, allocations: 0 / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001681/0.2332, allocations: 0.7869 MB / 0.9089 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2333, allocations: 55.41 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2335, allocations: 199.9 kB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.2335, allocations: 29.7 kB / 0.9092 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.2336, allocations: 159.8 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.2337, allocations: 78.92 kB / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2337, allocations: 4 kB / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2338, allocations: 330.8 kB / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2341, allocations: 115.9 kB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2344, allocations: 166.2 kB / 0.91 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.2347, allocations: 132.6 kB / 0.9101 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2347, allocations: 0 / 0.9101 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001272/0.236, allocations: 420 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.236, allocations: 4 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2361, allocations: 3.984 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/0.2371, allocations: 101 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.2378, allocations: 55.89 kB / 0.9107 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.2418, allocations: 1.761 MB / 0.9124 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.2425, allocations: 15.98 kB / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.2426, allocations: 16.06 kB / 0.9124 GB, free: 51.02 MB / 0.6042 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.0003947/0.243, allocations: 157.7 kB / 0.9126 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.2431, allocations: 15.81 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2444, allocations: 301.2 kB / 0.9129 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2445, allocations: 0 / 0.9129 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2445, allocations: 4 kB / 0.9129 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2445, allocations: 3.984 kB / 0.9129 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2466, allocations: 0.7032 MB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.2466, allocations: 4 kB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.2477, allocations: 59.89 kB / 0.9136 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.2477, allocations: 7.938 kB / 0.9136 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.2478, allocations: 4 kB / 0.9136 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.2478, allocations: 8.062 kB / 0.9137 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2478, allocations: 0 / 0.9137 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.2493, allocations: 0.5372 MB / 0.9142 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.2496, allocations: 112.9 kB / 0.9143 GB, free: 49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/0.2497, allocations: 12.06 kB / 0.9143 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.2503, allocations: 7.984 kB / 0.9143 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.2504, allocations: 23.91 kB / 0.9143 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.2504, allocations: 4 kB / 0.9143 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002607/0.2507, allocations: 148 kB / 0.9145 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2507, allocations: 0 / 0.9145 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008687/0.2516, allocations: 67.95 kB / 0.9145 GB, free: 48.74 MB / 0.6042 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.0002423/0.2519, allocations: 111.2 kB / 0.9146 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.2535, allocations: 421.2 kB / 0.915 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2535, allocations: 0 / 0.915 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.2539, allocations: 123.8 kB / 0.9152 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.2546, allocations: 36.61 kB / 0.9152 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.2571, allocations: 0.7447 MB / 0.9159 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2575, allocations: 0.7868 MB / 0.9167 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004318/0.2579, allocations: 61.91 kB / 0.9168 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2581, allocations: 23.44 kB / 0.9168 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of SimCode: time 1.933e-06/0.2581, allocations: 0 / 0.9168 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.009543/0.2677, allocations: 2.557 MB / 0.9193 GB, free: 43.82 MB / 0.6042 GB