Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008121/0.000812, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004989, allocations: 12.97 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.74/0.9628, allocations: 152.1 MB / 0.9358 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.9658, allocations: 1.482 MB / 0.9372 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.9662, allocations: 10.34 kB / 0.9373 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.9667, allocations: 108.5 kB / 0.9374 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.9685, allocations: 0.5099 MB / 0.9379 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.9701, allocations: 451.5 kB / 0.9383 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.9713, allocations: 0.8448 MB / 0.9391 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.9716, allocations: 186.3 kB / 0.9393 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.9723, allocations: 320.4 kB / 0.9396 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.9726, allocations: 223.4 kB / 0.9398 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.9726, allocations: 12 kB / 0.9398 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.9739, allocations: 467 kB / 0.9403 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.974, allocations: 99.66 kB / 0.9404 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.9745, allocations: 87.73 kB / 0.9404 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008017/0.9753, allocations: 438.3 kB / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9753, allocations: 0 / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.308e-06/0.9753, allocations: 1.031 kB / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.9753, allocations: 0 / 0.9409 GB, free: 21.44 MB / 0.7325 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.001037/0.9764, allocations: 0.6129 MB / 0.9415 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9764, allocations: 9.125 kB / 0.9415 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.9777, allocations: 163 kB / 0.9416 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.9782, allocations: 305.5 kB / 0.9419 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.9782, allocations: 16.88 kB / 0.9419 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.9783, allocations: 22.03 kB / 0.942 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.9789, allocations: 291.5 kB / 0.9422 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9789, allocations: 1.734 kB / 0.9422 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.9789, allocations: 8.875 kB / 0.9422 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.979, allocations: 5.531 kB / 0.9422 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.9794, allocations: 219 kB / 0.9425 GB, free: 20.62 MB / 0.7325 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.001489/0.9809, allocations: 1.233 MB / 0.9437 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.9812, allocations: 156.2 kB / 0.9438 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.9814, allocations: 99.25 kB / 0.9439 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.982, allocations: 318.5 kB / 0.9442 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.9821, allocations: 37.28 kB / 0.9442 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.9821, allocations: 4 kB / 0.9442 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.000838/0.9829, allocations: 308.7 kB / 0.9445 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.983, allocations: 58.09 kB / 0.9446 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.9834, allocations: 320.2 kB / 0.9449 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9834, allocations: 30.64 kB / 0.9449 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.9835, allocations: 177.4 kB / 0.9451 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.9836, allocations: 62.47 kB / 0.9452 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.9836, allocations: 5.125 kB / 0.9452 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9837, allocations: 338.3 kB / 0.9455 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.9839, allocations: 76.69 kB / 0.9456 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.9842, allocations: 131.1 kB / 0.9457 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.9844, allocations: 95.31 kB / 0.9458 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9844, allocations: 0.5312 kB / 0.9458 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006228/0.985, allocations: 261.8 kB / 0.946 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.9851, allocations: 5.562 kB / 0.946 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.9851, allocations: 2.812 kB / 0.946 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.9851, allocations: 2.688 kB / 0.946 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.9854, allocations: 48.44 kB / 0.9461 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9854, allocations: 2.812 kB / 0.9461 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.9857, allocations: 40.95 kB / 0.9461 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.9857, allocations: 11.34 kB / 0.9461 GB, free: 18.57 MB / 0.7325 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.0001652/0.9859, allocations: 159.4 kB / 0.9463 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.986, allocations: 29.88 kB / 0.9463 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.9866, allocations: 239.8 kB / 0.9465 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.9866, allocations: 3.469 kB / 0.9465 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9866, allocations: 3.188 kB / 0.9465 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9866, allocations: 0.5938 kB / 0.9465 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.9878, allocations: 0.7137 MB / 0.9472 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.9879, allocations: 6.5 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.9881, allocations: 37.55 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.9881, allocations: 2.656 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.9881, allocations: 7.5 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.9881, allocations: 9.031 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9881, allocations: 2.75 kB / 0.9473 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.9888, allocations: 464.2 kB / 0.9478 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9889, allocations: 125.7 kB / 0.9479 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.989, allocations: 6.875 kB / 0.9479 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.9891, allocations: 17.78 kB / 0.9479 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.9892, allocations: 24.83 kB / 0.9479 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.9892, allocations: 8.594 kB / 0.9479 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002461/0.9895, allocations: 225.7 kB / 0.9481 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9895, allocations: 0 / 0.9481 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004576/0.99, allocations: 86.62 kB / 0.9482 GB, free: 17.59 MB / 0.7325 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.000414/0.9904, allocations: 171.3 kB / 0.9484 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.9908, allocations: 186.5 kB / 0.9486 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9909, allocations: 5.562 kB / 0.9486 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.9911, allocations: 95.73 kB / 0.9487 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.992, allocations: 163.3 kB / 0.9488 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.9934, allocations: 0.751 MB / 0.9496 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.9939, allocations: 0.7859 MB / 0.9503 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.9942, allocations: 62.27 kB / 0.9504 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.9942, allocations: 25.22 kB / 0.9504 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9943, allocations: 0 / 0.9504 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.01063/1.005, allocations: 5.341 MB / 0.9556 GB, free: 15.97 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: