Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.536/2.536, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 186.1 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.678/2.678, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 106 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 13.06 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2354/0.4578, allocations: 152.2 MB / 1.048 GB, free: 8.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.4621, allocations: 1.532 MB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.4626, allocations: 7.938 kB / 1.049 GB, free: 7.211 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.4633, allocations: 103.2 kB / 1.049 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.4655, allocations: 0.5131 MB / 1.05 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.4676, allocations: 463.7 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.4694, allocations: 0.854 MB / 1.051 GB, free: 5.285 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.4701, allocations: 185.2 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.4712, allocations: 318.7 kB / 1.052 GB, free: 4.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.4717, allocations: 223.2 kB / 1.052 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.4718, allocations: 15.94 kB / 1.052 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4737, allocations: 458.9 kB / 1.052 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.474, allocations: 103.7 kB / 1.052 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.4742, allocations: 89.52 kB / 1.052 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4754, allocations: 435.3 kB / 1.053 GB, free: 3.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4754, allocations: 4 kB / 1.053 GB, free: 3.484 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.4754, allocations: 4 kB / 1.053 GB, free: 3.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4754, allocations: 0 / 1.053 GB, free: 3.48 MB / 0.698 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.001436/0.4769, allocations: 0.613 MB / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.477, allocations: 12.03 kB / 1.053 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.4787, allocations: 163.4 kB / 1.054 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.4795, allocations: 298.9 kB / 1.054 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.4795, allocations: 24.48 kB / 1.054 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.4796, allocations: 24 kB / 1.054 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.4805, allocations: 285.8 kB / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4805, allocations: 0 / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.4806, allocations: 12 kB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4806, allocations: 8 kB / 1.054 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.4814, allocations: 208.9 kB / 1.054 GB, free: 1.746 MB / 0.698 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.002406/0.4838, allocations: 1.234 MB / 1.056 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.4843, allocations: 162.4 kB / 1.056 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4846, allocations: 92.81 kB / 1.056 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6042/1.089, allocations: 319.2 kB / 1.056 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.089, allocations: 36.47 kB / 1.056 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 3.296e-06/1.089, allocations: 0 / 1.056 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.001429/1.09, allocations: 306.1 kB / 1.056 GB, free: 158.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.091, allocations: 57.75 kB / 1.057 GB, free: 158.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/1.091, allocations: 323 kB / 1.057 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/1.091, allocations: 30.3 kB / 1.057 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/1.091, allocations: 182.6 kB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.091, allocations: 60.77 kB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/1.091, allocations: 3.25 kB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.092, allocations: 342.8 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/1.092, allocations: 75.03 kB / 1.058 GB, free: 158.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/1.092, allocations: 134.6 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/1.093, allocations: 91.52 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.093, allocations: 6.375 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008075/1.093, allocations: 259.6 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.093, allocations: 5.25 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.093, allocations: 7.062 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.094, allocations: 5.688 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/1.094, allocations: 44.78 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.094, allocations: 3.062 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/1.094, allocations: 40.14 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/1.094, allocations: 9.844 kB / 1.058 GB, free: 158.2 MB / 0.698 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.0002013/1.095, allocations: 158 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/1.095, allocations: 29.41 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/1.095, allocations: 242 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.096, allocations: 3.375 kB / 1.058 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.096, allocations: 5.031 kB / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.096, allocations: 0 / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/1.097, allocations: 0.7157 MB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.097, allocations: 4.312 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/1.098, allocations: 39.05 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.098, allocations: 2.75 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/1.098, allocations: 5.906 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/1.098, allocations: 11.44 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.098, allocations: 2.656 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.099, allocations: 466.2 kB / 1.06 GB, free: 157.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/1.099, allocations: 122.7 kB / 1.06 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/1.099, allocations: 8.188 kB / 1.06 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/1.099, allocations: 22.38 kB / 1.06 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/1.099, allocations: 22.33 kB / 1.06 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/1.099, allocations: 6.219 kB / 1.06 GB, free: 157.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003457/1.1, allocations: 227.8 kB / 1.06 GB, free: 157.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.42e-07/1.1, allocations: 0 / 1.06 GB, free: 157.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005623/1.1, allocations: 86.27 kB / 1.06 GB, free: 157.2 MB / 0.698 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.0004828/1.101, allocations: 161.9 kB / 1.06 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007496/1.102, allocations: 186 kB / 1.061 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.102, allocations: 0 / 1.061 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/1.102, allocations: 100.4 kB / 1.061 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.104, allocations: 159.8 kB / 1.061 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/1.105, allocations: 0.7514 MB / 1.061 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.106, allocations: 0.7836 MB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004836/1.106, allocations: 69.88 kB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.106, allocations: 26.38 kB / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.106, allocations: 0 / 1.062 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02005/1.126, allocations: 5.347 MB / 1.068 GB, free: 155.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)