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.74/4.74, allocations: 0.5623 GB / 0.5776 GB, free: 3.387 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.00244/0.002441, allocations: 356.5 kB / 0.6447 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.318/4.318, allocations: 410.7 MB / 1.113 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: 177.1 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004985, allocations: 20 kB / 1.349 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6829, 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.181/0.864, allocations: 151 MB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.8674, allocations: 1.639 MB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.8677, allocations: 11.94 kB / 1.61 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.8684, allocations: 143 kB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.8701, allocations: 0.5673 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.8719, allocations: 477.8 kB / 1.612 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009978/0.8729, allocations: 0.8462 MB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.8733, allocations: 191.8 kB / 1.613 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008458/0.8741, allocations: 354.5 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.8745, allocations: 223.1 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.8745, allocations: 12 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.8757, allocations: 382.9 kB / 1.614 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.8759, allocations: 99.69 kB / 1.614 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.236e-05/0.876, allocations: 81.58 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.8766, allocations: 411 kB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8766, allocations: 0 / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8766, allocations: 0 / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8766, 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.001001/0.8776, allocations: 0.6038 MB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8777, allocations: 11.62 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.8793, allocations: 175.3 kB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.8798, allocations: 296.5 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.8799, allocations: 20.5 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.8799, allocations: 28 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.8806, allocations: 281.9 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.8806, allocations: 0 / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.8807, allocations: 12 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.8807, allocations: 8 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.8813, allocations: 219.9 kB / 1.616 GB, free: 126.2 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.001634/0.883, allocations: 1.229 MB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.8834, allocations: 151.5 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.8837, allocations: 100.8 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/0.8845, allocations: 323.2 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.8846, allocations: 30.56 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.8846, allocations: 0 / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.001135/0.8857, allocations: 317.1 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.8857, allocations: 51.41 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.8861, allocations: 320.5 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.8862, allocations: 29.7 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8863, allocations: 184.2 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.8864, allocations: 59.11 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.8864, allocations: 4 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.8865, allocations: 342.8 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.8868, allocations: 75.94 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.8871, allocations: 136.9 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.8874, allocations: 89.58 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8874, allocations: 4 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006991/0.8881, allocations: 257.1 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8881, allocations: 4 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.8882, allocations: 11.92 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8882, allocations: 4.094 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.8886, allocations: 55.84 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8886, allocations: 0 / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.889, allocations: 39.67 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.889, allocations: 12 kB / 1.619 GB, free: 122.2 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.0001629/0.8892, allocations: 157.7 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.8893, allocations: 31.61 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.89, allocations: 236.7 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.89, allocations: 0 / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.89, allocations: 4 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.8901, allocations: 128.7 kB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.8902, allocations: 0 / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.8905, allocations: 19.89 kB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.8906, allocations: 17.58 kB / 1.62 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007766/0.8914, allocations: 296.7 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009386/0.8923, allocations: 494.1 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002644/0.8926, allocations: 83.91 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002738/0.8929, allocations: 235 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of Backend: time 7.51e-07/0.8929, allocations: 0 / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.8943, allocations: 355.4 kB / 1.621 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002066/0.8964, allocations: 1.241 MB / 1.623 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01771/0.9141, allocations: 7.08 MB / 1.629 GB, free: 111.9 MB / 0.8542 GB