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.533/2.533, allocations: 252.6 MB / 265.2 MB, free: 5.68 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 187.8 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001144/0.001144, allocations: 104.6 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.929e-05/4.942e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9849/1.196, allocations: 158.3 MB / 1.049 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004986/1.196, allocations: 98 kB / 1.05 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0698/1.266, allocations: 16.47 MB / 1.066 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/1.266, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.248e-05/1.266, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.6823 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.001283/1.268, allocations: 0.5124 MB / 1.066 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.268, allocations: 8.031 kB / 1.066 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.269, allocations: 95.61 kB / 1.066 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/1.27, allocations: 265.7 kB / 1.066 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/1.27, allocations: 15.69 kB / 1.067 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/1.27, allocations: 23.62 kB / 1.067 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/1.271, allocations: 358.6 kB / 1.067 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/1.271, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/1.271, allocations: 14.73 kB / 1.067 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/1.271, allocations: 20.42 kB / 1.067 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/1.272, allocations: 293.6 kB / 1.067 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/1.275, allocations: 1.538 MB / 1.069 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/1.275, allocations: 223.6 kB / 1.069 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/1.276, allocations: 111.1 kB / 1.069 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/1.276, allocations: 89.09 kB / 1.069 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.276, allocations: 34.06 kB / 1.069 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.627e-06/1.276, allocations: 0 / 1.069 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001775/1.278, allocations: 0.692 MB / 1.07 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.278, allocations: 63.33 kB / 1.07 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/1.278, allocations: 169.5 kB / 1.07 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/1.278, allocations: 36.89 kB / 1.07 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.278, allocations: 165.5 kB / 1.07 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/1.279, allocations: 65.77 kB / 1.07 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/1.279, allocations: 3.625 kB / 1.07 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.279, allocations: 332.6 kB / 1.071 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/1.279, allocations: 109.4 kB / 1.071 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/1.279, allocations: 155.7 kB / 1.071 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/1.28, allocations: 139.5 kB / 1.071 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.28, allocations: 3.953 kB / 1.071 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001239/1.281, allocations: 399 kB / 1.071 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.281, allocations: 4.188 kB / 1.071 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.281, allocations: 11.94 kB / 1.071 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/1.282, allocations: 97.34 kB / 1.071 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/1.282, allocations: 47.97 kB / 1.072 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/1.285, allocations: 1.735 MB / 1.073 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.286, allocations: 22.48 kB / 1.073 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/1.286, allocations: 11.94 kB / 1.073 GB, free: 4.82 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.0001488/1.286, allocations: 111.6 kB / 1.073 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/1.286, allocations: 19.75 kB / 1.073 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008605/1.287, allocations: 298.9 kB / 1.074 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.287, allocations: 8 kB / 1.074 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.287, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.287, allocations: 7.938 kB / 1.074 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.289, allocations: 0.6952 MB / 1.074 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.289, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/1.289, allocations: 63.45 kB / 1.074 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/1.289, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.289, allocations: 11.27 kB / 1.074 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.289, allocations: 4.062 kB / 1.074 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.29, allocations: 4 kB / 1.074 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.291, allocations: 0.5201 MB / 1.075 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.291, allocations: 122.8 kB / 1.075 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/1.291, allocations: 7.188 kB / 1.075 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/1.291, allocations: 11.98 kB / 1.075 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/1.291, allocations: 11.92 kB / 1.075 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/1.291, allocations: 4 kB / 1.075 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002087/1.292, allocations: 146.1 kB / 1.075 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.292, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005725/1.292, allocations: 82.44 kB / 1.075 GB, free: 2.973 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.0002483/1.292, allocations: 126.2 kB / 1.075 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.294, allocations: 416 kB / 1.076 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.294, allocations: 0 / 1.076 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/1.294, allocations: 120.7 kB / 1.076 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/1.294, allocations: 50.61 kB / 1.076 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/1.296, allocations: 488.1 kB / 1.076 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.297, allocations: 0.7771 MB / 1.077 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003676/1.297, allocations: 58.02 kB / 1.077 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/1.297, allocations: 23.42 kB / 1.077 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/1.297, allocations: 4 kB / 1.077 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of Templates: time 0.01342/1.311, allocations: 2.557 MB / 1.08 GB, free: 14.52 MB / 0.698 GB