Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.386/4.386, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.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.002539, allocations: 359.1 kB / 0.644 GB, free: 21.63 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.901/3.901, allocations: 410.8 MB / 1.112 GB, free: 109.7 MB / 0.5573 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: 176.9 kB / 1.225 GB, free: 9.555 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 8 kB / 1.348 GB, free: 84.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 115.3 MB / 1.461 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.4968/0.6625, allocations: 2.126 MB / 1.463 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.6639, allocations: 0.7153 MB / 1.464 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.664, allocations: 2.656 kB / 1.464 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.6641, allocations: 25.48 kB / 1.464 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.6644, allocations: 84.34 kB / 1.464 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.6648, allocations: 79.52 kB / 1.464 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.6651, allocations: 234.4 kB / 1.464 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.6653, allocations: 179.4 kB / 1.464 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.228e-05/0.6655, allocations: 61.11 kB / 1.464 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.6657, allocations: 88.81 kB / 1.464 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.6657, allocations: 7.031 kB / 1.464 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.6659, allocations: 54.47 kB / 1.464 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.666, allocations: 46.92 kB / 1.464 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.666, allocations: 50.11 kB / 1.464 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.6663, allocations: 165.9 kB / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.945e-06/0.6663, allocations: 0.6562 kB / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.78e-06/0.6664, allocations: 0 / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.6664, allocations: 4 kB / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005118/0.6669, allocations: 425.6 kB / 1.465 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6669, allocations: 9.25 kB / 1.465 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.6674, allocations: 47.8 kB / 1.465 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.6677, allocations: 214.2 kB / 1.465 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.6677, allocations: 10.09 kB / 1.465 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.6677, allocations: 12.38 kB / 1.465 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.6682, allocations: 225.9 kB / 1.465 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6682, allocations: 4.844 kB / 1.465 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.6682, allocations: 6.562 kB / 1.465 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.6683, allocations: 13.95 kB / 1.465 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.6686, allocations: 153.3 kB / 1.466 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.6697, allocations: 1.129 MB / 1.467 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/0.6698, allocations: 41.62 kB / 1.467 GB, free: 8.461 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.6699, allocations: 20.8 kB / 1.467 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.6699, allocations: 1.344 kB / 1.467 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.6699, allocations: 40.58 kB / 1.467 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.185e-06/0.67, allocations: 0 / 1.467 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002209/0.6702, allocations: 73.36 kB / 1.467 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.6702, allocations: 55.41 kB / 1.467 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6704, allocations: 181.9 kB / 1.467 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-06/0.6704, allocations: 26.73 kB / 1.467 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.6705, allocations: 139.9 kB / 1.467 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.6705, allocations: 15.77 kB / 1.467 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-06/0.6706, allocations: 0 / 1.467 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.6706, allocations: 321.3 kB / 1.468 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.6707, allocations: 18.31 kB / 1.468 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.6708, allocations: 96.41 kB / 1.468 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.44e-05/0.6709, allocations: 36.33 kB / 1.468 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.774e-06/0.6709, allocations: 0.5938 kB / 1.468 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002691/0.6712, allocations: 136.5 kB / 1.468 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.6712, allocations: 164.4 kB / 1.468 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.799e-06/0.6713, allocations: 2.781 kB / 1.468 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6713, allocations: 4.922 kB / 1.468 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6714, allocations: 25.84 kB / 1.468 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.6715, allocations: 4.812 kB / 1.468 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6716, allocations: 12.81 kB / 1.468 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.6716, allocations: 10.19 kB / 1.468 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-06/0.6716, allocations: 4.031 kB / 1.468 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002029/0.6718, allocations: 103.3 kB / 1.468 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.637e-06/0.6719, allocations: 2.656 kB / 1.468 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.777e-06/0.6719, allocations: 3.734 kB / 1.468 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.672, allocations: 26.39 kB / 1.468 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.553e-06/0.672, allocations: 8.391 kB / 1.468 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.6721, allocations: 13.91 kB / 1.468 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.6721, allocations: 13.53 kB / 1.468 GB, free: 7.195 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.00011/0.6722, allocations: 213.2 kB / 1.468 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.6723, allocations: 9.406 kB / 1.468 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.6723, allocations: 13.52 kB / 1.468 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6724, allocations: 5.531 kB / 1.468 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-06/0.6724, allocations: 4.469 kB / 1.468 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.474e-06/0.6724, allocations: 0 / 1.468 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.6728, allocations: 475.3 kB / 1.469 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.056e-06/0.6729, allocations: 1.625 kB / 1.469 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.6729, allocations: 14.92 kB / 1.469 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.524e-06/0.6729, allocations: 1.734 kB / 1.469 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-06/0.673, allocations: 1.219 kB / 1.469 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-06/0.673, allocations: 5.75 kB / 1.469 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.323e-06/0.673, allocations: 1.375 kB / 1.469 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.6732, allocations: 113.5 kB / 1.469 GB, free: 6.406 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.6733, allocations: 87.84 kB / 1.469 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.6733, allocations: 6 kB / 1.469 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.6734, allocations: 1.672 kB / 1.469 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.6734, allocations: 11.92 kB / 1.469 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-06/0.6734, allocations: 1.312 kB / 1.469 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001452/0.6736, allocations: 126.3 kB / 1.469 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.34e-07/0.6736, allocations: 0 / 1.469 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004948/0.6741, allocations: 55.97 kB / 1.469 GB, free: 6.191 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001139/0.6742, allocations: 96.2 kB / 1.469 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.6745, allocations: 114.8 kB / 1.47 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.029e-06/0.6745, allocations: 1.562 kB / 1.47 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.6746, allocations: 15.47 kB / 1.47 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.6749, allocations: 16.91 kB / 1.47 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.6756, allocations: 321.3 kB / 1.47 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.676, allocations: 0.737 MB / 1.471 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.6761, allocations: 27.75 kB / 1.471 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.6761, allocations: 17.56 kB / 1.471 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.376e-06/0.6761, allocations: 0 / 1.471 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.00397/0.6801, allocations: 0.7924 MB / 1.471 GB, free: 4.992 MB / 0.6042 GB