Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.Velocity.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.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.631/4.631, allocations: 0.5623 GB / 0.5769 GB, free: 3.293 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.002493/0.002493, allocations: 352.3 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 3.868/3.868, allocations: 410.7 MB / 1.112 GB, free: 5.898 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.001817/0.001817, allocations: 183.7 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005045, allocations: 16 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6153, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1435/0.7589, allocations: 151 MB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.7616, allocations: 1.645 MB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.7618, allocations: 7.938 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.7623, allocations: 155 kB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.7636, allocations: 0.5673 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.765, allocations: 478 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007222/0.7657, allocations: 0.8423 MB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.766, allocations: 182.3 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006823/0.7667, allocations: 354.5 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.767, allocations: 223.1 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.7671, allocations: 16 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.7679, allocations: 378.9 kB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.7681, allocations: 99.67 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.7681, allocations: 85.58 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.7687, allocations: 411 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.073e-06/0.7687, allocations: 0 / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.778e-06/0.7687, allocations: 4 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.7687, allocations: 0 / 1.614 GB, free: 127.9 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007841/0.7695, allocations: 0.6039 MB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7695, allocations: 11.62 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.7709, allocations: 163.3 kB / 1.614 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.7713, allocations: 310.8 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.7714, allocations: 20.56 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.7714, allocations: 27.94 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.772, allocations: 281.9 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.772, allocations: 0 / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.772, allocations: 8 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.277e-06/0.7721, allocations: 4 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.7726, allocations: 215.9 kB / 1.615 GB, free: 126.1 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.774, allocations: 1.237 MB / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.7743, allocations: 152.8 kB / 1.616 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.7746, allocations: 96.8 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.7752, allocations: 319.2 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7752, allocations: 38.5 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 2.769e-06/0.7752, allocations: 0.8438 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0009056/0.7761, allocations: 309.4 kB / 1.617 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.7762, allocations: 51.41 kB / 1.617 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.7765, allocations: 324.5 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.7766, allocations: 25.7 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.7767, allocations: 184.2 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.7767, allocations: 63.09 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.7768, allocations: 0 / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.7768, allocations: 346.8 kB / 1.618 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.7771, allocations: 71.95 kB / 1.618 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.7773, allocations: 136.9 kB / 1.618 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.7776, allocations: 95.89 kB / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-06/0.7776, allocations: 0 / 1.618 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005645/0.7781, allocations: 257.9 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7782, allocations: 11.62 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.911e-06/0.7782, allocations: 4 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7782, allocations: 3.984 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.7785, allocations: 51.86 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.528e-06/0.7785, allocations: 4 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.7788, allocations: 40.33 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.7788, allocations: 15.98 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001486/0.779, allocations: 157.7 kB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.7791, allocations: 27.62 kB / 1.619 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.7796, allocations: 236.7 kB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7796, allocations: 4 kB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.064e-06/0.7797, allocations: 0 / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.618e-06/0.7797, allocations: 2.391 kB / 1.619 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.7808, allocations: 0.7224 MB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-06/0.7809, allocations: 0 / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.7811, allocations: 44.14 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-06/0.7811, allocations: 0 / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.7811, allocations: 4 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.877e-06/0.7811, allocations: 4 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.379e-06/0.7812, allocations: 3.953 kB / 1.62 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.7819, allocations: 468.9 kB / 1.62 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.782, allocations: 128.6 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.7821, allocations: 0 / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.7824, allocations: 19.98 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.7825, allocations: 27.94 kB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7825, allocations: 4 kB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002392/0.7827, allocations: 227 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.02e-07/0.7827, allocations: 0 / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004828/0.7832, allocations: 91.89 kB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0003542/0.7836, allocations: 159.2 kB / 1.621 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.7841, allocations: 191.5 kB / 1.621 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.223e-06/0.7841, allocations: 0 / 1.621 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.7844, allocations: 100.2 kB / 1.621 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7855, allocations: 162.5 kB / 1.621 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.7865, allocations: 0.7379 MB / 1.622 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.7868, allocations: 0.7914 MB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.7871, allocations: 66.41 kB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.7872, allocations: 27.44 kB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.399e-06/0.7872, allocations: 4 kB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01199/0.7992, allocations: 5.334 MB / 1.628 GB, free: 112.4 MB / 0.8542 GB