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.203/2.203, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001544/0.001544, allocations: 178.6 kB / 325.6 MB, free: 2.836 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.519/2.519, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001069/0.001069, allocations: 102.2 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 15.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/0.468, allocations: 158.3 MB / 1.054 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003984/0.4685, allocations: 111.9 kB / 1.054 GB, free: 2.785 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6429/1.111, allocations: 16.57 MB / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.825e-06/1.111, allocations: 0 / 1.07 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.645e-05/1.111, allocations: 5.125 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.001357/1.113, allocations: 0.5334 MB / 1.07 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.113, allocations: 9.469 kB / 1.07 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/1.114, allocations: 95.36 kB / 1.07 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/1.115, allocations: 263.9 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/1.115, allocations: 16.73 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/1.115, allocations: 22.34 kB / 1.071 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/1.116, allocations: 365.2 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.116, allocations: 0 / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/1.116, allocations: 9.906 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/1.117, allocations: 16.06 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/1.117, allocations: 305.5 kB / 1.071 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/1.12, allocations: 1.533 MB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/1.121, allocations: 233.2 kB / 1.073 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.121, allocations: 86.97 kB / 1.073 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.121, allocations: 40.09 kB / 1.073 GB, free: 152.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/1.121, allocations: 0 / 1.073 GB, free: 152.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002101/1.124, allocations: 0.7856 MB / 1.074 GB, free: 152.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.124, allocations: 57.69 kB / 1.074 GB, free: 152.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/1.124, allocations: 168.9 kB / 1.074 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/1.124, allocations: 29.92 kB / 1.074 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.124, allocations: 168.2 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/1.124, allocations: 70.92 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.124, allocations: 4.938 kB / 1.074 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.124, allocations: 330.2 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.125, allocations: 109 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/1.125, allocations: 169.9 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/1.125, allocations: 139 kB / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.125, allocations: 0 / 1.075 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001289/1.127, allocations: 419 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.127, allocations: 5.188 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.127, allocations: 6.281 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/1.127, allocations: 95.33 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.128, allocations: 51.47 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/1.131, allocations: 1.765 MB / 1.077 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/1.131, allocations: 15.95 kB / 1.077 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/1.131, allocations: 10.38 kB / 1.077 GB, free: 150.2 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.0002778/1.131, allocations: 157.3 kB / 1.078 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/1.131, allocations: 16 kB / 1.078 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/1.132, allocations: 310.6 kB / 1.078 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.132, allocations: 6.703 kB / 1.078 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.132, allocations: 0 / 1.078 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.132, allocations: 0 / 1.078 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/1.134, allocations: 0.6997 MB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.134, allocations: 1.125 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/1.135, allocations: 58.17 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/1.135, allocations: 6.5 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/1.136, allocations: 5.375 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.136, allocations: 5.391 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.136, allocations: 5.438 kB / 1.079 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.138, allocations: 0.5342 MB / 1.079 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/1.138, allocations: 124.5 kB / 1.079 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.138, allocations: 4.125 kB / 1.079 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.139, allocations: 13.23 kB / 1.079 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/1.139, allocations: 15.61 kB / 1.079 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/1.139, allocations: 6.5 kB / 1.079 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003726/1.139, allocations: 145.7 kB / 1.08 GB, free: 149 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.14, allocations: 0 / 1.08 GB, free: 149 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001347/1.141, allocations: 79.66 kB / 1.08 GB, free: 149 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.0003981/1.141, allocations: 122.5 kB / 1.08 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002156/1.144, allocations: 418.3 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.144, allocations: 0.9688 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/1.144, allocations: 126.4 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/1.145, allocations: 34.38 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/1.148, allocations: 0.7532 MB / 1.081 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/1.149, allocations: 0.7807 MB / 1.082 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005685/1.149, allocations: 59.48 kB / 1.082 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.149, allocations: 18.44 kB / 1.082 GB, free: 147.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.295e-06/1.149, allocations: 0 / 1.082 GB, free: 147.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01496/1.164, allocations: 2.565 MB / 1.084 GB, free: 146.2 MB / 0.698 GB