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.001161/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001362/0.001362, allocations: 194.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222 MB, free: 4.781 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.738/1.738, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001336/0.001336, allocations: 68.48 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8257/1.134, allocations: 165.2 MB / 0.944 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002998/1.137, allocations: 1.569 MB / 0.9455 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/1.137, allocations: 10.88 kB / 0.9455 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/1.138, allocations: 125.5 kB / 0.9456 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/1.14, allocations: 0.6618 MB / 0.9463 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.142, allocations: 0.5471 MB / 0.9468 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001204/1.143, allocations: 0.9858 MB / 0.9478 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/1.143, allocations: 212.8 kB / 0.948 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/1.144, allocations: 316.8 kB / 0.9483 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/1.144, allocations: 238.1 kB / 0.9485 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/1.144, allocations: 18.12 kB / 0.9485 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/1.146, allocations: 1.014 MB / 0.9495 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/1.147, allocations: 99.44 kB / 0.9496 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/1.147, allocations: 162.7 kB / 0.9498 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/1.148, allocations: 0.7762 MB / 0.9505 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.148, allocations: 0.8438 kB / 0.9505 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.81e-07/1.148, allocations: 0 / 0.9505 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.148, allocations: 0 / 0.9505 GB, free: 5.484 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.00161/1.15, allocations: 0.6682 MB / 0.9512 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.15, allocations: 9.531 kB / 0.9512 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.151, allocations: 159.5 kB / 0.9513 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/1.152, allocations: 307.8 kB / 0.9516 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.152, allocations: 17.47 kB / 0.9516 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/1.152, allocations: 26.25 kB / 0.9517 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/1.153, allocations: 286.8 kB / 0.9519 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/1.153, allocations: 1.797 kB / 0.9519 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/1.153, allocations: 10.39 kB / 0.9519 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.153, allocations: 5.938 kB / 0.952 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/1.153, allocations: 202.8 kB / 0.9521 GB, free: 20.66 MB / 0.7481 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.001652/1.155, allocations: 1.232 MB / 0.9534 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.155, allocations: 147.7 kB / 0.9535 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/1.156, allocations: 96.7 kB / 0.9536 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/1.156, allocations: 303.2 kB / 0.9539 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.156, allocations: 35.59 kB / 0.9539 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 2.083e-06/1.156, allocations: 0 / 0.9539 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0008532/1.157, allocations: 299.7 kB / 0.9542 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.157, allocations: 54.44 kB / 0.9542 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/1.158, allocations: 324.1 kB / 0.9546 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/1.158, allocations: 30.08 kB / 0.9546 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.158, allocations: 181.7 kB / 0.9548 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/1.158, allocations: 65.78 kB / 0.9548 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/1.158, allocations: 46.8 kB / 0.9549 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.158, allocations: 338.7 kB / 0.9552 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.158, allocations: 69.86 kB / 0.9553 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/1.159, allocations: 129.2 kB / 0.9554 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/1.159, allocations: 198.5 kB / 0.9556 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.159, allocations: 1.781 kB / 0.9556 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005751/1.16, allocations: 261.5 kB / 0.9558 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.16, allocations: 5.281 kB / 0.9558 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.16, allocations: 4.344 kB / 0.9558 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.16, allocations: 2.562 kB / 0.9558 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.16, allocations: 46.95 kB / 0.9559 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.16, allocations: 5.156 kB / 0.9559 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.16, allocations: 42.53 kB / 0.9559 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.16, allocations: 7.562 kB / 0.9559 GB, free: 18.53 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/1.16, allocations: 154 kB / 0.9561 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/1.161, allocations: 27.7 kB / 0.9561 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/1.161, allocations: 227.6 kB / 0.9563 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.161, allocations: 2.281 kB / 0.9563 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.161, allocations: 4.875 kB / 0.9563 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.161, allocations: 2.562 kB / 0.9563 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.162, allocations: 0.7063 MB / 0.957 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/1.162, allocations: 1.625 kB / 0.957 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/1.163, allocations: 35.8 kB / 0.957 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.163, allocations: 2.781 kB / 0.9571 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.163, allocations: 6.078 kB / 0.9571 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.163, allocations: 13.56 kB / 0.9571 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.163, allocations: 3.938 kB / 0.9571 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008341/1.164, allocations: 454.4 kB / 0.9575 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.164, allocations: 122.4 kB / 0.9576 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/1.164, allocations: 7.031 kB / 0.9576 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.164, allocations: 22.66 kB / 0.9577 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.164, allocations: 16.95 kB / 0.9577 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/1.164, allocations: 5.406 kB / 0.9577 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003367/1.165, allocations: 236.1 kB / 0.9579 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.002e-06/1.165, allocations: 0 / 0.9579 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005697/1.165, allocations: 81.61 kB / 0.958 GB, free: 17.57 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006273/1.166, allocations: 165.5 kB / 0.9581 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000534/1.166, allocations: 186 kB / 0.9583 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.166, allocations: 0 / 0.9583 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/1.167, allocations: 90.17 kB / 0.9584 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.168, allocations: 171.3 kB / 0.9586 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.169, allocations: 0.7145 MB / 0.9593 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/1.17, allocations: 0.7861 MB / 0.96 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003401/1.17, allocations: 72.28 kB / 0.9601 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/1.17, allocations: 27.59 kB / 0.9601 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/1.17, allocations: 0 / 0.9601 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.01257/1.183, allocations: 5.532 MB / 0.9655 GB, free: 15.93 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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)