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.001134/0.001134, allocations: 116.5 kB / 16.38 MB, free: 6.008 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.001087/0.001087, allocations: 185.7 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001374/0.001374, allocations: 63.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.622/0.8571, allocations: 167.4 MB / 0.9483 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.8605, allocations: 1.552 MB / 0.9498 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.8613, allocations: 15.88 kB / 0.9498 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.8619, allocations: 146.9 kB / 0.9499 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.8641, allocations: 0.7078 MB / 0.9506 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.8659, allocations: 0.6019 MB / 0.9512 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.8671, allocations: 0.7254 MB / 0.9519 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.8676, allocations: 240.8 kB / 0.9522 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000905/0.8685, allocations: 343.7 kB / 0.9525 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.869, allocations: 231 kB / 0.9527 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.8691, allocations: 24 kB / 0.9527 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.8711, allocations: 0.865 MB / 0.9536 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.8713, allocations: 115.7 kB / 0.9537 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.8716, allocations: 171.1 kB / 0.9539 GB, free: 13 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.8735, allocations: 0.7402 MB / 0.9546 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8735, allocations: 3.938 kB / 0.9546 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8735, allocations: 0 / 0.9546 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.8735, allocations: 0 / 0.9546 GB, free: 12.26 MB / 0.7481 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.00135/0.8749, allocations: 0.6611 MB / 0.9552 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8749, allocations: 13.61 kB / 0.9552 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.8762, allocations: 147.5 kB / 0.9554 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.8769, allocations: 330.6 kB / 0.9557 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8769, allocations: 16.56 kB / 0.9557 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.877, allocations: 27.94 kB / 0.9557 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.8775, allocations: 289.8 kB / 0.956 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8776, allocations: 0 / 0.956 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.8776, allocations: 16 kB / 0.956 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.8776, allocations: 4 kB / 0.956 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.8781, allocations: 200.9 kB / 0.9562 GB, free: 10.47 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.001599/0.8797, allocations: 1.223 MB / 0.9574 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.88, allocations: 150.4 kB / 0.9576 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.8802, allocations: 100.8 kB / 0.9577 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.8808, allocations: 299.2 kB / 0.9579 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.8808, allocations: 38.56 kB / 0.958 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.8808, allocations: 0 / 0.958 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0008362/0.8817, allocations: 293.4 kB / 0.9583 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8817, allocations: 56.72 kB / 0.9583 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.8821, allocations: 320.5 kB / 0.9586 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.8821, allocations: 29.7 kB / 0.9586 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.8823, allocations: 180.2 kB / 0.9588 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.8823, allocations: 67.09 kB / 0.9589 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.8824, allocations: 45.7 kB / 0.9589 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8826, allocations: 342.8 kB / 0.9593 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.8827, allocations: 67.95 kB / 0.9593 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.883, allocations: 131.1 kB / 0.9594 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.8833, allocations: 193 kB / 0.9596 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8833, allocations: 0 / 0.9596 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005037/0.8839, allocations: 261 kB / 0.9599 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8839, allocations: 4 kB / 0.9599 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.8839, allocations: 0.5 kB / 0.9599 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.8839, allocations: 4 kB / 0.9599 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.8842, allocations: 45 kB / 0.9599 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8842, allocations: 3.938 kB / 0.9599 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.8844, allocations: 36.17 kB / 0.96 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.8845, allocations: 12.09 kB / 0.96 GB, free: 6.344 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.0001644/0.8846, allocations: 149.8 kB / 0.9601 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.8847, allocations: 31.62 kB / 0.9601 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.8852, allocations: 235.6 kB / 0.9604 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.8853, allocations: 0 / 0.9604 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8853, allocations: 3.938 kB / 0.9604 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8853, allocations: 0 / 0.9604 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.8865, allocations: 0.7143 MB / 0.9611 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8865, allocations: 4 kB / 0.9611 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8867, allocations: 31.97 kB / 0.9611 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.8867, allocations: 4 kB / 0.9611 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.8867, allocations: 4 kB / 0.9611 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.8867, allocations: 13.67 kB / 0.9611 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8867, allocations: 0 / 0.9611 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.8875, allocations: 450.6 kB / 0.9616 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.8876, allocations: 128.8 kB / 0.9617 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.8877, allocations: 8 kB / 0.9617 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.8879, allocations: 7.938 kB / 0.9617 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.8879, allocations: 20.11 kB / 0.9617 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.888, allocations: 9.25 kB / 0.9617 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002357/0.8882, allocations: 229 kB / 0.9619 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8882, allocations: 0 / 0.9619 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004339/0.8887, allocations: 83.84 kB / 0.962 GB, free: 4.113 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.0004565/0.8891, allocations: 167.5 kB / 0.9622 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.8896, allocations: 183.3 kB / 0.9624 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8897, allocations: 4.188 kB / 0.9624 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.8899, allocations: 95.81 kB / 0.9625 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.8908, allocations: 167.1 kB / 0.9626 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.8921, allocations: 0.6617 MB / 0.9633 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.8926, allocations: 0.7795 MB / 0.964 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.8927, allocations: 27.44 kB / 0.964 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.8927, allocations: 0 / 0.964 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of Templates: time 0.01142/0.9041, allocations: 4.951 MB / 0.9689 GB, free: 13.18 MB / 0.7637 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)