Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.05/5.05, allocations: 0.5623 GB / 0.5775 GB, free: 3.406 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002487, allocations: 351.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.142/4.142, allocations: 410.7 MB / 1.113 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001873/0.001873, allocations: 179.3 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007289/0.0007299, allocations: 16 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7695, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.003, allocations: 164.7 MB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/1.003, allocations: 107.9 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.06321/1.066, allocations: 16.55 MB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.284e-06/1.066, allocations: 0 / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.066, allocations: 9 kB / 1.638 GB, free: 102.8 MB / 0.8542 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.001049/1.067, allocations: 0.5285 MB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.068, allocations: 11.62 kB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/1.069, allocations: 96.31 kB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/1.069, allocations: 255.6 kB / 1.639 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/1.069, allocations: 21.19 kB / 1.639 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/1.07, allocations: 23.94 kB / 1.639 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/1.07, allocations: 359.3 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.07, allocations: 1.875 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/1.07, allocations: 15.98 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/1.071, allocations: 16.44 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/1.071, allocations: 302.1 kB / 1.64 GB, free: 101.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/1.074, allocations: 1.537 MB / 1.641 GB, free: 99.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/1.074, allocations: 230.4 kB / 1.642 GB, free: 99.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/1.075, allocations: 120.7 kB / 1.642 GB, free: 99.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/1.075, allocations: 89.97 kB / 1.642 GB, free: 98.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/1.075, allocations: 36.16 kB / 1.642 GB, free: 98.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.526e-06/1.075, allocations: 4 kB / 1.642 GB, free: 98.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0018/1.077, allocations: 0.7947 MB / 1.643 GB, free: 98.08 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.077, allocations: 55.41 kB / 1.643 GB, free: 98.01 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/1.077, allocations: 191.4 kB / 1.643 GB, free: 97.81 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.077, allocations: 27.14 kB / 1.643 GB, free: 97.78 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/1.077, allocations: 163.8 kB / 1.643 GB, free: 97.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/1.077, allocations: 71.09 kB / 1.643 GB, free: 97.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/1.077, allocations: 4 kB / 1.643 GB, free: 97.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/1.077, allocations: 331.5 kB / 1.644 GB, free: 97.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.077, allocations: 112.7 kB / 1.644 GB, free: 97.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.078, allocations: 167.2 kB / 1.644 GB, free: 96.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/1.078, allocations: 136.3 kB / 1.644 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.078, allocations: 0.7812 kB / 1.644 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001062/1.079, allocations: 411.8 kB / 1.644 GB, free: 96.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.079, allocations: 10.06 kB / 1.644 GB, free: 96.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.079, allocations: 0 / 1.644 GB, free: 96.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/1.08, allocations: 94.23 kB / 1.644 GB, free: 96.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/1.08, allocations: 59.86 kB / 1.644 GB, free: 96.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.082, allocations: 1.726 MB / 1.646 GB, free: 94.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/1.083, allocations: 22.03 kB / 1.646 GB, free: 94.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/1.083, allocations: 8 kB / 1.646 GB, free: 94.34 MB / 0.8542 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.0002139/1.083, allocations: 159.1 kB / 1.646 GB, free: 94.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.083, allocations: 16.44 kB / 1.646 GB, free: 94.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/1.084, allocations: 301.8 kB / 1.647 GB, free: 93.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.084, allocations: 4 kB / 1.647 GB, free: 93.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.084, allocations: 0 / 1.647 GB, free: 93.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.084, allocations: 0 / 1.647 GB, free: 93.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.085, allocations: 0.7041 MB / 1.647 GB, free: 93.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.085, allocations: 4.812 kB / 1.647 GB, free: 93.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/1.086, allocations: 60.58 kB / 1.647 GB, free: 93.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/1.086, allocations: 4 kB / 1.647 GB, free: 93.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/1.086, allocations: 5.5 kB / 1.647 GB, free: 93.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.086, allocations: 7.953 kB / 1.647 GB, free: 93.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.086, allocations: 0 / 1.647 GB, free: 93.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/1.087, allocations: 0.5034 MB / 1.648 GB, free: 92.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.087, allocations: 116.9 kB / 1.648 GB, free: 92.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/1.087, allocations: 12.58 kB / 1.648 GB, free: 92.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/1.087, allocations: 11.98 kB / 1.648 GB, free: 92.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/1.087, allocations: 16.59 kB / 1.648 GB, free: 92.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/1.087, allocations: 4.75 kB / 1.648 GB, free: 92.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000156/1.087, allocations: 144.8 kB / 1.648 GB, free: 92.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.5e-07/1.088, allocations: 0 / 1.648 GB, free: 92.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008167/1.088, allocations: 80.69 kB / 1.648 GB, free: 92.09 MB / 0.8542 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.0002297/1.089, allocations: 122.3 kB / 1.648 GB, free: 91.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.09, allocations: 419 kB / 1.649 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.09, allocations: 0 / 1.649 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/1.09, allocations: 120.6 kB / 1.649 GB, free: 91.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/1.091, allocations: 37.34 kB / 1.649 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/1.093, allocations: 0.7616 MB / 1.65 GB, free: 90.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.094, allocations: 0.7764 MB / 1.65 GB, free: 89.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004146/1.094, allocations: 58.59 kB / 1.651 GB, free: 89.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.094, allocations: 23.42 kB / 1.651 GB, free: 89.82 MB / 0.8542 GB Notification: Performance of SimCode: time 1.333e-06/1.094, allocations: 0.7812 kB / 1.651 GB, free: 89.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.01053/1.105, allocations: 2.572 MB / 1.653 GB, free: 87.39 MB / 0.8542 GB