Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009515/0.0009513, allocations: 93.61 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 12.81 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7453/1.008, allocations: 140.2 MB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003882/1.012, allocations: 1.583 MB / 1.118 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/1.013, allocations: 13.53 kB / 1.118 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/1.014, allocations: 179.9 kB / 1.118 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/1.016, allocations: 0.5152 MB / 1.119 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/1.018, allocations: 485.3 kB / 1.119 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009588/1.019, allocations: 444.6 kB / 1.12 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/1.02, allocations: 193 kB / 1.12 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000891/1.021, allocations: 348.8 kB / 1.12 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/1.021, allocations: 156.7 kB / 1.12 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/1.021, allocations: 17.47 kB / 1.12 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/1.022, allocations: 419.7 kB / 1.121 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/1.022, allocations: 93.58 kB / 1.121 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/1.023, allocations: 82.67 kB / 1.121 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009904/1.024, allocations: 406.5 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.024, allocations: 0 / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.024, allocations: 1.859 kB / 1.121 GB, free: 17.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.024, allocations: 1 kB / 1.121 GB, free: 17.2 MB / 0.698 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.001085/1.025, allocations: 0.6037 MB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.025, allocations: 8.938 kB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.841e-05/1.025, allocations: 56.91 kB / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.026, allocations: 171.6 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/1.027, allocations: 300.1 kB / 1.122 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/1.027, allocations: 18.97 kB / 1.122 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/1.027, allocations: 27.19 kB / 1.122 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/1.027, allocations: 280.1 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.027, allocations: 1.062 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/1.027, allocations: 11.56 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.027, allocations: 9.75 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/1.028, allocations: 217.9 kB / 1.123 GB, free: 16.33 MB / 0.698 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.001562/1.029, allocations: 1.227 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/1.03, allocations: 150.2 kB / 1.124 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/1.03, allocations: 143.4 kB / 1.124 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.03, allocations: 33.56 kB / 1.124 GB, free: 15.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/1.03, allocations: 0.875 kB / 1.124 GB, free: 15.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0009593/1.031, allocations: 309.6 kB / 1.125 GB, free: 15.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.031, allocations: 59.97 kB / 1.125 GB, free: 15.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/1.032, allocations: 315.2 kB / 1.125 GB, free: 15.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/1.032, allocations: 29.92 kB / 1.125 GB, free: 15.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/1.032, allocations: 180.3 kB / 1.125 GB, free: 14.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/1.032, allocations: 64.66 kB / 1.125 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/1.032, allocations: 3.906 kB / 1.125 GB, free: 14.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.032, allocations: 338.7 kB / 1.126 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.032, allocations: 75.83 kB / 1.126 GB, free: 14.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/1.032, allocations: 140 kB / 1.126 GB, free: 14.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.033, allocations: 95.06 kB / 1.126 GB, free: 14.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.033, allocations: 1.281 kB / 1.126 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004747/1.033, allocations: 263.7 kB / 1.126 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.033, allocations: 8.312 kB / 1.126 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.033, allocations: 3 kB / 1.126 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.033, allocations: 2.906 kB / 1.126 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.033, allocations: 49.31 kB / 1.126 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.033, allocations: 2.406 kB / 1.126 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.034, allocations: 43.03 kB / 1.126 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/1.034, allocations: 7.5 kB / 1.126 GB, free: 14.43 MB / 0.698 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.000169/1.034, allocations: 154 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/1.034, allocations: 31.02 kB / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/1.034, allocations: 244.4 kB / 1.127 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.034, allocations: 2.344 kB / 1.127 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.034, allocations: 0 / 1.127 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.035, allocations: 1.969 kB / 1.127 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.036, allocations: 0.712 MB / 1.127 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.036, allocations: 2.531 kB / 1.127 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/1.036, allocations: 45.8 kB / 1.127 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.036, allocations: 5.094 kB / 1.127 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.036, allocations: 2.531 kB / 1.127 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.036, allocations: 4.578 kB / 1.127 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.036, allocations: 3 kB / 1.127 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/1.037, allocations: 0.5416 MB / 1.128 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.037, allocations: 127.1 kB / 1.128 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/1.037, allocations: 7.281 kB / 1.128 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.037, allocations: 24.39 kB / 1.128 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.037, allocations: 15.92 kB / 1.128 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/1.037, allocations: 8.094 kB / 1.128 GB, free: 13.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002257/1.037, allocations: 229.7 kB / 1.128 GB, free: 13.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.533e-06/1.037, allocations: 0 / 1.128 GB, free: 13.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004522/1.038, allocations: 83.34 kB / 1.128 GB, free: 13.31 MB / 0.698 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.001617/1.04, allocations: 1.628 MB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004569/1.04, allocations: 186.4 kB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.04, allocations: 4.062 kB / 1.13 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.04, allocations: 96 kB / 1.13 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/1.041, allocations: 160.3 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/1.044, allocations: 2.601 MB / 1.133 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/1.045, allocations: 0.7875 MB / 1.134 GB, free: 9.691 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000277/1.045, allocations: 66.75 kB / 1.134 GB, free: 9.672 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.045, allocations: 92.97 kB / 1.134 GB, free: 9.664 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.045, allocations: 0 / 1.134 GB, free: 9.664 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/1.072, allocations: 8.394 MB / 1.142 GB, free: 5.914 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.072, allocations: 216.2 kB / 1.142 GB, free: 5.676 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/3.247, allocations: 0 / 1.142 GB, free: 5.676 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)