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.001633/0.001633, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002355/0.002355, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.511/1.511, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.828/1.828, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001512/0.001512, allocations: 75.23 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8409/1.123, allocations: 167.4 MB / 0.9468 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003074/1.126, allocations: 1.554 MB / 0.9484 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000434/1.126, allocations: 11.28 kB / 0.9484 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/1.127, allocations: 152.8 kB / 0.9485 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/1.129, allocations: 0.7037 MB / 0.9492 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.13, allocations: 0.6095 MB / 0.9498 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001224/1.132, allocations: 0.7135 MB / 0.9505 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/1.132, allocations: 244.1 kB / 0.9507 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009193/1.133, allocations: 343.6 kB / 0.9511 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/1.134, allocations: 222.9 kB / 0.9513 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/1.134, allocations: 23.03 kB / 0.9513 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/1.136, allocations: 0.8659 MB / 0.9521 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/1.136, allocations: 111 kB / 0.9522 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/1.136, allocations: 180 kB / 0.9524 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/1.137, allocations: 0.729 MB / 0.9531 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.137, allocations: 1.156 kB / 0.9531 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/1.137, allocations: 0 / 0.9531 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.137, allocations: 0 / 0.9531 GB, free: 1.312 MB / 0.7169 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.001099/1.139, allocations: 0.6613 MB / 0.9538 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.139, allocations: 11.05 kB / 0.9538 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.14, allocations: 158.4 kB / 0.9539 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/1.14, allocations: 316.3 kB / 0.9542 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.14, allocations: 16.72 kB / 0.9543 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/1.14, allocations: 27.28 kB / 0.9543 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/1.141, allocations: 280.5 kB / 0.9545 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.141, allocations: 4.969 kB / 0.9546 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/1.141, allocations: 11.45 kB / 0.9546 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.141, allocations: 6.219 kB / 0.9546 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/1.141, allocations: 200 kB / 0.9548 GB, free: 16.47 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.001439/1.143, allocations: 1.229 MB / 0.956 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/1.143, allocations: 149.3 kB / 0.9561 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/1.143, allocations: 93.52 kB / 0.9562 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/1.144, allocations: 307 kB / 0.9565 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.144, allocations: 35.81 kB / 0.9565 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.344e-06/1.144, allocations: 0 / 0.9565 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008203/1.145, allocations: 298.2 kB / 0.9568 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.145, allocations: 57.56 kB / 0.9569 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/1.145, allocations: 319.1 kB / 0.9572 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/1.145, allocations: 30.39 kB / 0.9572 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.145, allocations: 185.2 kB / 0.9574 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/1.145, allocations: 61.47 kB / 0.9574 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/1.146, allocations: 45.64 kB / 0.9575 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.146, allocations: 348.8 kB / 0.9578 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.146, allocations: 66.86 kB / 0.9579 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/1.146, allocations: 130.9 kB / 0.958 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/1.146, allocations: 195 kB / 0.9582 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.146, allocations: 1.125 kB / 0.9582 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004666/1.147, allocations: 262 kB / 0.9584 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.147, allocations: 5.719 kB / 0.9584 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.147, allocations: 5 kB / 0.9584 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.147, allocations: 3.438 kB / 0.9584 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.147, allocations: 45.38 kB / 0.9585 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.147, allocations: 2.031 kB / 0.9585 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.147, allocations: 31.03 kB / 0.9585 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.147, allocations: 11.02 kB / 0.9585 GB, free: 14.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/1.148, allocations: 157.8 kB / 0.9587 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.148, allocations: 26.81 kB / 0.9587 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/1.148, allocations: 234.6 kB / 0.9589 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.148, allocations: 1.5 kB / 0.9589 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.148, allocations: 3.625 kB / 0.9589 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.148, allocations: 1.094 kB / 0.9589 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/1.149, allocations: 0.7045 MB / 0.9596 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/1.149, allocations: 2.469 kB / 0.9596 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.15, allocations: 37.33 kB / 0.9597 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.15, allocations: 2.344 kB / 0.9597 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.15, allocations: 9.594 kB / 0.9597 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.15, allocations: 6.125 kB / 0.9597 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.15, allocations: 6.25 kB / 0.9597 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/1.15, allocations: 450.4 kB / 0.9601 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.15, allocations: 128.6 kB / 0.9602 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/1.15, allocations: 2.875 kB / 0.9602 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.151, allocations: 19.3 kB / 0.9603 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.151, allocations: 15.17 kB / 0.9603 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.151, allocations: 5.438 kB / 0.9603 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002831/1.151, allocations: 232.3 kB / 0.9605 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 1.094 kB / 0.9605 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005409/1.152, allocations: 79.12 kB / 0.9606 GB, free: 13.32 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 (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.0005648/1.152, allocations: 171.5 kB / 0.9607 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005235/1.153, allocations: 189.8 kB / 0.9609 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.153, allocations: 1.219 kB / 0.9609 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/1.153, allocations: 97.47 kB / 0.961 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.154, allocations: 166.3 kB / 0.9612 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/1.156, allocations: 0.636 MB / 0.9618 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/1.156, allocations: 0.7795 MB / 0.9626 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002978/1.156, allocations: 71.83 kB / 0.9626 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/1.156, allocations: 25 kB / 0.9626 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/1.156, allocations: 1.094 kB / 0.9626 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.01319/1.17, allocations: 5.81 MB / 0.9683 GB, free: 11.18 MB / 0.7325 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)