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 4.912/4.912, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002382/0.002382, allocations: 360 kB / 0.644 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.259/4.259, allocations: 410.7 MB / 1.112 GB, free: 5.973 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.001759/0.001759, allocations: 191.5 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004972, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6569, 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.003177/0.6601, allocations: 2.658 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.6625, allocations: 1.592 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.6627, allocations: 7.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.6629, allocations: 37.48 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.6633, allocations: 151.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.6638, allocations: 148.3 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.6641, allocations: 366.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.6651, allocations: 0.4988 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.6652, allocations: 107.6 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.6656, allocations: 139.5 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.6656, allocations: 13.28 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.666, allocations: 143.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.6661, allocations: 87.77 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.6661, allocations: 66.31 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.6665, allocations: 313.3 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.068e-06/0.6665, allocations: 1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.869e-06/0.6665, allocations: 3.938 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.6665, allocations: 0 / 1.467 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.0007901/0.6673, allocations: 0.5013 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.6674, allocations: 15.62 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.6683, allocations: 105.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.6686, allocations: 250.7 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.6687, allocations: 12.44 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6688, allocations: 35.91 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.6694, allocations: 371.1 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6694, allocations: 1.031 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.6695, allocations: 13.7 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.6696, allocations: 28.42 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.6702, allocations: 305.5 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.6721, allocations: 1.528 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.6726, allocations: 231.3 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.6728, allocations: 121.2 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.6729, allocations: 85.61 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.673, allocations: 31.59 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.1e-06/0.673, allocations: 3.938 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001365/0.6743, allocations: 0.7954 MB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.6744, allocations: 58.88 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.6746, allocations: 190.9 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6746, allocations: 33.69 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.6747, allocations: 163.8 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.6748, allocations: 67.03 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.6748, allocations: 11.94 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.6749, allocations: 330.8 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6751, allocations: 107.9 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6754, allocations: 168.1 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.6756, allocations: 140.5 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6757, allocations: 0 / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000879/0.6765, allocations: 412.6 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6766, allocations: 8 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.166e-06/0.6766, allocations: 0 / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.6771, allocations: 99.61 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6774, allocations: 51.89 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6793, allocations: 1.737 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.6797, allocations: 20 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.6797, allocations: 9.438 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.0002045/0.6799, allocations: 157.8 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.68, allocations: 20.27 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.6805, allocations: 301 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-06/0.6806, allocations: 2.688 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-06/0.6806, allocations: 0 / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.065e-06/0.6806, allocations: 0 / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6816, allocations: 0.7068 MB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.625e-06/0.6816, allocations: 0 / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.6821, allocations: 56.67 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6821, allocations: 5.281 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.6821, allocations: 4 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.474e-06/0.6822, allocations: 4 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.589e-06/0.6822, allocations: 0 / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.6829, allocations: 0.5148 MB / 1.476 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.683, allocations: 116.8 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.6831, allocations: 12.5 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.6834, allocations: 17.66 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.6834, allocations: 7.984 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.6835, allocations: 10.28 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001454/0.6836, allocations: 149.2 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.58e-07/0.6836, allocations: 0 / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004935/0.6841, allocations: 63.94 kB / 1.477 GB, free: 267.3 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.0001487/0.6843, allocations: 115.8 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.6851, allocations: 424.3 kB / 1.477 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.81e-06/0.6851, allocations: 0.75 kB / 1.477 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6853, allocations: 121.3 kB / 1.477 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.6858, allocations: 45.61 kB / 1.477 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.6873, allocations: 0.7598 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6875, allocations: 0.7822 MB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.6878, allocations: 58.55 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.6879, allocations: 23.44 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of SimCode: time 1.668e-06/0.6879, allocations: 3.25 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of Templates: time 0.007074/0.695, allocations: 2.562 MB / 1.482 GB, free: 262.6 MB / 0.8542 GB