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.449/2.449, allocations: 253.2 MB / 260.6 MB, free: 7.43 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.001465/0.001465, allocations: 190.9 kB / 319.9 MB, free: 3.066 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.11/2.11, allocations: 205.6 MB / 0.5708 GB, free: 15.3 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.001115/0.001115, allocations: 98.58 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.371e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2115, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.273, allocations: 158.5 MB / 1.043 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.274, allocations: 95.94 kB / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07031/1.344, allocations: 16.41 MB / 1.06 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/1.344, allocations: 0 / 1.06 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.344, allocations: 8 kB / 1.06 GB, free: 14.83 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.001234/1.346, allocations: 0.5166 MB / 1.06 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.346, allocations: 8.031 kB / 1.06 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.347, allocations: 95.61 kB / 1.06 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/1.348, allocations: 260.9 kB / 1.06 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.348, allocations: 12 kB / 1.06 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/1.348, allocations: 12 kB / 1.06 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006249/1.348, allocations: 228.3 kB / 1.061 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/1.349, allocations: 326.5 kB / 1.061 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.349, allocations: 7.984 kB / 1.061 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/1.349, allocations: 0 / 1.061 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/1.349, allocations: 19.81 kB / 1.061 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/1.352, allocations: 1.478 MB / 1.062 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/1.353, allocations: 219.2 kB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/1.353, allocations: 109.9 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.353, allocations: 89.08 kB / 1.063 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.353, allocations: 42 kB / 1.063 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.617e-06/1.353, allocations: 4 kB / 1.063 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.002068/1.356, allocations: 0.7088 MB / 1.064 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.356, allocations: 51.41 kB / 1.064 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/1.356, allocations: 159.7 kB / 1.064 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.356, allocations: 25.7 kB / 1.064 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.356, allocations: 169.6 kB / 1.064 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/1.356, allocations: 65.77 kB / 1.064 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.356, allocations: 0 / 1.064 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.356, allocations: 329.6 kB / 1.064 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/1.357, allocations: 101.5 kB / 1.064 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/1.357, allocations: 163.2 kB / 1.065 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/1.358, allocations: 153.2 kB / 1.065 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.358, allocations: 0 / 1.065 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00131/1.359, allocations: 398.2 kB / 1.065 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.359, allocations: 11.97 kB / 1.065 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.359, allocations: 7.984 kB / 1.065 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/1.36, allocations: 88.66 kB / 1.065 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/1.36, allocations: 47.95 kB / 1.065 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/1.363, allocations: 1.668 MB / 1.067 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/1.363, allocations: 12.02 kB / 1.067 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/1.363, allocations: 15.55 kB / 1.067 GB, free: 7.793 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.0001421/1.363, allocations: 104.9 kB / 1.067 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/1.364, allocations: 19.75 kB / 1.067 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/1.364, allocations: 301.9 kB / 1.067 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.364, allocations: 0 / 1.067 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/1.364, allocations: 3.938 kB / 1.067 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.364, allocations: 3.984 kB / 1.067 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.366, allocations: 0.6585 MB / 1.068 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.366, allocations: 0 / 1.068 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/1.367, allocations: 55.95 kB / 1.068 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.367, allocations: 0 / 1.068 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/1.367, allocations: 11.31 kB / 1.068 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.367, allocations: 0 / 1.068 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.367, allocations: 0 / 1.068 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/1.368, allocations: 0.5352 MB / 1.069 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/1.368, allocations: 114.4 kB / 1.069 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/1.368, allocations: 4 kB / 1.069 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/1.369, allocations: 11.94 kB / 1.069 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.369, allocations: 15.11 kB / 1.069 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.369, allocations: 4 kB / 1.069 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000185/1.369, allocations: 132.2 kB / 1.069 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.369, allocations: 3.938 kB / 1.069 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006054/1.369, allocations: 71.81 kB / 1.069 GB, free: 5.996 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.0002419/1.37, allocations: 129.5 kB / 1.069 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001/1.371, allocations: 392.3 kB / 1.069 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.371, allocations: 3.938 kB / 1.069 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/1.371, allocations: 114.1 kB / 1.07 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/1.371, allocations: 27.86 kB / 1.07 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.373, allocations: 490.3 kB / 1.07 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/1.374, allocations: 0.7806 MB / 1.071 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003622/1.374, allocations: 54.03 kB / 1.071 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.374, allocations: 19.44 kB / 1.071 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/1.374, allocations: 4 kB / 1.071 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.009065/1.383, allocations: 2.406 MB / 1.073 GB, free: 1.723 MB / 0.6823 GB