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.312/5.312, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.00254/0.00254, allocations: 353.3 kB / 0.6447 GB, free: 185.7 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.317/4.317, allocations: 410.7 MB / 1.113 GB, free: 5.996 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.002034/0.002033, allocations: 176.1 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005296, allocations: 15.98 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7815, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.02036/0.8019, allocations: 2.666 MB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.8135, allocations: 1.586 MB / 1.466 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.8139, allocations: 7.938 kB / 1.466 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.8141, allocations: 35.7 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007732/0.8149, allocations: 156.5 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.8157, allocations: 145.1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.8163, allocations: 364.1 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.8176, allocations: 0.4934 MB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.8179, allocations: 107.6 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01023/0.8281, allocations: 140.7 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.8283, allocations: 13.09 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.829, allocations: 147.7 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.8292, allocations: 87.75 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.8314, allocations: 62.36 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.832, allocations: 329.2 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8321, allocations: 0.9375 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8321, allocations: 0 / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.8321, allocations: 1.062 kB / 1.468 GB, free: 278 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.001273/0.8334, allocations: 0.4931 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.8335, allocations: 11.62 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.835, allocations: 115.5 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.8355, allocations: 244.9 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.8356, allocations: 20.44 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.8357, allocations: 27.97 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.8369, allocations: 375.5 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.837, allocations: 0 / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.8371, allocations: 9.594 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.8373, allocations: 32.41 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00753/0.8449, allocations: 301.5 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.8479, allocations: 1.526 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/0.8488, allocations: 236.4 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.8491, allocations: 116.8 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.8493, allocations: 85.55 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.8493, allocations: 39.05 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.827e-06/0.8493, allocations: 0.5938 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.002213/0.8516, allocations: 0.7901 MB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.8517, allocations: 55.41 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.852, allocations: 195.4 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.852, allocations: 34.45 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.8522, allocations: 160.3 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.8522, allocations: 67.03 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.8523, allocations: 5.125 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.8524, allocations: 334.7 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.8528, allocations: 112.9 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.8532, allocations: 163.7 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.8536, allocations: 139.7 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8536, allocations: 0.6562 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001475/0.8551, allocations: 415.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.8552, allocations: 5 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8552, allocations: 4 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.856, allocations: 95.61 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.8565, allocations: 59.89 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.8595, allocations: 1.733 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.86, allocations: 16.02 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.8601, allocations: 12 kB / 1.475 GB, free: 269.5 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.0002017/0.8603, allocations: 155 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.8604, allocations: 20.61 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.861, allocations: 304.4 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8611, allocations: 0 / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.8611, allocations: 0 / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.8612, allocations: 118.2 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.8613, allocations: 0 / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.8616, allocations: 15.98 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.8616, allocations: 10.83 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001066/0.8627, allocations: 392.7 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008519/0.8636, allocations: 0.5827 MB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002252/0.8638, allocations: 120.3 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001589/0.864, allocations: 149.2 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of Backend: time 1.452e-06/0.864, allocations: 1.062 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.8654, allocations: 473.2 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001392/0.8668, allocations: 1.118 MB / 1.479 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01102/0.8779, allocations: 4.152 MB / 1.483 GB, free: 262.2 MB / 0.8542 GB