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.001175/0.001175, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01206/0.01206, allocations: 170.6 kB / 16.26 MB, free: 6.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.629/1.629, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.846/1.846, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0008337/0.0008338, allocations: 22.78 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2848, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8237/1.109, allocations: 163 MB / 0.9471 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003669/1.112, allocations: 1.542 MB / 0.9486 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/1.113, allocations: 13.44 kB / 0.9486 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006122/1.113, allocations: 117.6 kB / 0.9487 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/1.116, allocations: 0.6701 MB / 0.9494 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/1.118, allocations: 0.5494 MB / 0.9499 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002138/1.12, allocations: 0.9942 MB / 0.9509 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/1.121, allocations: 206.7 kB / 0.9511 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/1.122, allocations: 310.2 kB / 0.9514 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/1.123, allocations: 233.5 kB / 0.9516 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/1.123, allocations: 13.75 kB / 0.9516 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/1.126, allocations: 1.016 MB / 0.9526 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/1.126, allocations: 98.58 kB / 0.9527 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002607/1.126, allocations: 194.9 kB / 0.9529 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/1.128, allocations: 0.773 MB / 0.9536 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.128, allocations: 0 / 0.9536 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/1.128, allocations: 1.219 kB / 0.9536 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.128, allocations: 0 / 0.9536 GB, free: 15.81 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.00109/1.129, allocations: 0.6046 MB / 0.9542 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.129, allocations: 14.22 kB / 0.9542 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.13, allocations: 156.6 kB / 0.9544 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/1.131, allocations: 309.7 kB / 0.9547 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.131, allocations: 17.44 kB / 0.9547 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/1.131, allocations: 26.59 kB / 0.9547 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/1.132, allocations: 291.7 kB / 0.955 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.132, allocations: 1.094 kB / 0.955 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/1.132, allocations: 9.5 kB / 0.955 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/1.132, allocations: 6.281 kB / 0.955 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/1.132, allocations: 218 kB / 0.9552 GB, free: 14.97 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.002068/1.135, allocations: 1.232 MB / 0.9564 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/1.135, allocations: 152.5 kB / 0.9566 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/1.135, allocations: 102.9 kB / 0.9567 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007656/1.136, allocations: 317.4 kB / 0.957 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.136, allocations: 34.94 kB / 0.957 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/1.136, allocations: 1.75 kB / 0.957 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0009956/1.137, allocations: 317.6 kB / 0.9573 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.137, allocations: 53.56 kB / 0.9574 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/1.138, allocations: 318.9 kB / 0.9577 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.138, allocations: 30.89 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/1.138, allocations: 186 kB / 0.9579 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/1.138, allocations: 59.83 kB / 0.9579 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/1.138, allocations: 28.64 kB / 0.9579 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.138, allocations: 338.7 kB / 0.9583 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.138, allocations: 73.83 kB / 0.9583 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.139, allocations: 134.3 kB / 0.9585 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/1.139, allocations: 212.8 kB / 0.9587 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.139, allocations: 1.375 kB / 0.9587 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005924/1.14, allocations: 268.2 kB / 0.9589 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.14, allocations: 5.375 kB / 0.9589 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.14, allocations: 2.094 kB / 0.9589 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.14, allocations: 4.062 kB / 0.9589 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.14, allocations: 49.73 kB / 0.959 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.14, allocations: 5.5 kB / 0.959 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/1.14, allocations: 43.88 kB / 0.959 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.14, allocations: 11.84 kB / 0.959 GB, free: 12.8 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.0001599/1.141, allocations: 154.5 kB / 0.9592 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/1.141, allocations: 30.34 kB / 0.9592 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/1.141, allocations: 242.3 kB / 0.9595 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.141, allocations: 6.266 kB / 0.9595 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.141, allocations: 0 / 0.9595 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.141, allocations: 1.125 kB / 0.9595 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/1.142, allocations: 0.7107 MB / 0.9602 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.142, allocations: 1.125 kB / 0.9602 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.143, allocations: 46.36 kB / 0.9602 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.143, allocations: 6.25 kB / 0.9602 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.143, allocations: 3.312 kB / 0.9602 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/1.143, allocations: 7.375 kB / 0.9602 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.143, allocations: 2.281 kB / 0.9602 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/1.143, allocations: 471.1 kB / 0.9607 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/1.144, allocations: 121.7 kB / 0.9608 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/1.144, allocations: 9.547 kB / 0.9608 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/1.144, allocations: 20.42 kB / 0.9608 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/1.144, allocations: 20.11 kB / 0.9608 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/1.144, allocations: 10.75 kB / 0.9608 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002554/1.144, allocations: 229.8 kB / 0.9611 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.144, allocations: 0 / 0.9611 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004635/1.145, allocations: 80.38 kB / 0.9611 GB, free: 11.8 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.0004621/1.145, allocations: 164 kB / 0.9613 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005247/1.146, allocations: 189.5 kB / 0.9615 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.146, allocations: 1.094 kB / 0.9615 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/1.146, allocations: 105.9 kB / 0.9616 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.147, allocations: 167.9 kB / 0.9617 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.148, allocations: 0.7621 MB / 0.9625 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.149, allocations: 0.7802 MB / 0.9632 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002733/1.149, allocations: 67.72 kB / 0.9633 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/1.149, allocations: 26.66 kB / 0.9633 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.149, allocations: 4 kB / 0.9633 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.01455/1.164, allocations: 5.512 MB / 0.9687 GB, free: 8.727 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: