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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008864, allocations: 91.45 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.005985/0.005985, allocations: 171.7 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.429/1.429, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.725/1.725, 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.0005481/0.0005482, allocations: 13.72 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2378, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6136/0.8514, allocations: 163 MB / 0.9472 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.8541, allocations: 1.553 MB / 0.9487 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.8544, allocations: 18.56 kB / 0.9487 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.8548, allocations: 116.5 kB / 0.9488 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.8564, allocations: 0.6722 MB / 0.9495 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.8579, allocations: 0.5466 MB / 0.95 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.8591, allocations: 0.9912 MB / 0.951 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.8594, allocations: 202.7 kB / 0.9512 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.8601, allocations: 311.1 kB / 0.9515 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.8604, allocations: 237.1 kB / 0.9517 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.8605, allocations: 14.03 kB / 0.9517 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.8624, allocations: 1.014 MB / 0.9527 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.8626, allocations: 97.39 kB / 0.9528 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.8628, allocations: 186.2 kB / 0.953 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.8638, allocations: 0.7714 MB / 0.9537 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8638, allocations: 1.094 kB / 0.9537 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8638, allocations: 0 / 0.9537 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8638, allocations: 0 / 0.9537 GB, free: 15.5 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.0009123/0.8647, allocations: 0.6148 MB / 0.9543 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.8648, allocations: 9.719 kB / 0.9543 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.8649, allocations: 58.45 kB / 0.9544 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.866, allocations: 154.9 kB / 0.9545 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.8664, allocations: 307.8 kB / 0.9548 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.8664, allocations: 22.09 kB / 0.9549 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.8665, allocations: 26.62 kB / 0.9549 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.867, allocations: 287.8 kB / 0.9552 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8671, allocations: 0 / 0.9552 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.8671, allocations: 14.59 kB / 0.9552 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.8671, allocations: 7.594 kB / 0.9552 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.8675, allocations: 207.9 kB / 0.9554 GB, free: 14.62 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.00143/0.869, allocations: 1.238 MB / 0.9566 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.8693, allocations: 151.6 kB / 0.9567 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.8695, allocations: 104.8 kB / 0.9568 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.8701, allocations: 320.3 kB / 0.9571 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8701, allocations: 35.47 kB / 0.9572 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.8701, allocations: 0 / 0.9572 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007919/0.8709, allocations: 311.8 kB / 0.9575 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.871, allocations: 57.16 kB / 0.9575 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.8713, allocations: 320.8 kB / 0.9578 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.8713, allocations: 30.33 kB / 0.9579 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.8715, allocations: 185.6 kB / 0.958 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.8715, allocations: 54.27 kB / 0.9581 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.8716, allocations: 26.05 kB / 0.9581 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8717, allocations: 344.1 kB / 0.9584 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.8719, allocations: 71.61 kB / 0.9585 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.8721, allocations: 131.7 kB / 0.9586 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.8725, allocations: 213.3 kB / 0.9588 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8725, allocations: 3.938 kB / 0.9588 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005071/0.873, allocations: 265.7 kB / 0.9591 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.873, allocations: 7.922 kB / 0.9591 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.873, allocations: 4.672 kB / 0.9591 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.873, allocations: 3.438 kB / 0.9591 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.8733, allocations: 47.11 kB / 0.9592 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8733, allocations: 3 kB / 0.9592 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.8735, allocations: 41.14 kB / 0.9592 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.8735, allocations: 10.42 kB / 0.9592 GB, free: 12.46 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.0001395/0.8737, allocations: 155.1 kB / 0.9594 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.8738, allocations: 31.16 kB / 0.9594 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.8743, allocations: 244 kB / 0.9596 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8743, allocations: 2.062 kB / 0.9596 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8743, allocations: 1.766 kB / 0.9596 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8743, allocations: 5.016 kB / 0.9596 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8753, allocations: 0.7251 MB / 0.9603 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8753, allocations: 1.969 kB / 0.9603 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.8755, allocations: 40.47 kB / 0.9604 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8755, allocations: 2.219 kB / 0.9604 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.8755, allocations: 7.094 kB / 0.9604 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.8756, allocations: 13.2 kB / 0.9604 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8756, allocations: 2.281 kB / 0.9604 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.8762, allocations: 459.8 kB / 0.9608 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8764, allocations: 121 kB / 0.961 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.8764, allocations: 11.34 kB / 0.961 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.8766, allocations: 28.47 kB / 0.961 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.8767, allocations: 15.31 kB / 0.961 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.8767, allocations: 9.25 kB / 0.961 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002117/0.8769, allocations: 230.6 kB / 0.9612 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8769, allocations: 0 / 0.9612 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004121/0.8774, allocations: 84.28 kB / 0.9613 GB, free: 11.45 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.001184/0.8786, allocations: 1.065 MB / 0.9624 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.879, allocations: 188 kB / 0.9625 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.879, allocations: 0 / 0.9625 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.8792, allocations: 101.2 kB / 0.9626 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.8802, allocations: 165.7 kB / 0.9628 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.8839, allocations: 3.165 MB / 0.9659 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.8843, allocations: 0.7842 MB / 0.9666 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000232/0.8845, allocations: 63.84 kB / 0.9667 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.8847, allocations: 95.48 kB / 0.9668 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.8847, allocations: 4 kB / 0.9668 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.9042, allocations: 8.406 MB / 0.975 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.9044, allocations: 233.6 kB / 0.9752 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.801, allocations: 0 / 0.9752 GB, free: 4.582 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)