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.001268/0.001268, allocations: 109.4 kB / 15.69 MB, free: 128 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.001127/0.001127, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.701/1.701, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001712/0.001712, allocations: 71.48 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2434, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5972/0.8406, allocations: 167.4 MB / 0.9471 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.8436, allocations: 1.557 MB / 0.9486 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.8439, allocations: 15.69 kB / 0.9486 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.8445, allocations: 153.4 kB / 0.9488 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.8465, allocations: 0.7025 MB / 0.9495 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.8482, allocations: 0.5981 MB / 0.9501 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.8493, allocations: 0.7201 MB / 0.9508 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004726/0.8498, allocations: 236.8 kB / 0.951 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008152/0.8506, allocations: 347.8 kB / 0.9513 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.851, allocations: 227.1 kB / 0.9515 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.482e-05/0.8511, allocations: 23.78 kB / 0.9516 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.8527, allocations: 0.8721 MB / 0.9524 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.8528, allocations: 112.4 kB / 0.9525 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.853, allocations: 175.3 kB / 0.9527 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000978/0.854, allocations: 0.7298 MB / 0.9534 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.854, allocations: 1.25 kB / 0.9534 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.854, allocations: 0 / 0.9534 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.854, allocations: 0 / 0.9534 GB, free: 0.9375 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.0009461/0.855, allocations: 0.667 MB / 0.9541 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.855, allocations: 9.812 kB / 0.9541 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.8551, allocations: 58.69 kB / 0.9541 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.8562, allocations: 160.1 kB / 0.9543 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.8567, allocations: 321.8 kB / 0.9546 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.8567, allocations: 17.22 kB / 0.9546 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.8567, allocations: 29.81 kB / 0.9546 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.8572, allocations: 282.7 kB / 0.9549 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8572, allocations: 0 / 0.9549 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.8572, allocations: 14.91 kB / 0.9549 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.8572, allocations: 5.75 kB / 0.9549 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.8576, allocations: 208.8 kB / 0.9551 GB, free: 16.04 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.001315/0.859, allocations: 1.221 MB / 0.9563 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.8592, allocations: 152.4 kB / 0.9564 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.8594, allocations: 94.89 kB / 0.9565 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.86, allocations: 301 kB / 0.9568 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.86, allocations: 45.59 kB / 0.9569 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.235e-06/0.86, allocations: 0 / 0.9569 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007386/0.8607, allocations: 290.2 kB / 0.9571 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.8608, allocations: 54.97 kB / 0.9572 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.8611, allocations: 330.7 kB / 0.9575 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.8612, allocations: 26.61 kB / 0.9575 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.8613, allocations: 183.8 kB / 0.9577 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.8614, allocations: 59.81 kB / 0.9578 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.8614, allocations: 46.27 kB / 0.9578 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8616, allocations: 344.4 kB / 0.9581 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.8617, allocations: 67.16 kB / 0.9582 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.862, allocations: 136.7 kB / 0.9583 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.8623, allocations: 196.9 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.8623, allocations: 5.094 kB / 0.9585 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004636/0.8628, allocations: 251.5 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8628, allocations: 6 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8628, allocations: 7.766 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8628, allocations: 2.188 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.8631, allocations: 46.89 kB / 0.9588 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.8631, allocations: 8.609 kB / 0.9588 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.8633, allocations: 29.3 kB / 0.9589 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.8633, allocations: 10.28 kB / 0.9589 GB, free: 13.88 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.0001554/0.8635, allocations: 156.4 kB / 0.959 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.8635, allocations: 31.86 kB / 0.9591 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.864, allocations: 225 kB / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.864, allocations: 5.562 kB / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.864, allocations: 0 / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.864, allocations: 4.281 kB / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.8651, allocations: 0.7057 MB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8651, allocations: 1.188 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.8653, allocations: 45.28 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8653, allocations: 2.625 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.8653, allocations: 3.375 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.8654, allocations: 7.844 kB / 0.96 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8654, allocations: 3.359 kB / 0.96 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.866, allocations: 457.3 kB / 0.9605 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.8661, allocations: 121.2 kB / 0.9606 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.8662, allocations: 6.062 kB / 0.9606 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.8664, allocations: 15.86 kB / 0.9606 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.8664, allocations: 15.33 kB / 0.9606 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.8664, allocations: 9.156 kB / 0.9606 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000212/0.8667, allocations: 236.1 kB / 0.9608 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.42e-07/0.8667, allocations: 1.156 kB / 0.9609 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000425/0.8671, allocations: 84.84 kB / 0.9609 GB, free: 12.89 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.001123/0.8682, allocations: 1.035 MB / 0.9619 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.8687, allocations: 195.5 kB / 0.9621 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8687, allocations: 1.156 kB / 0.9621 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.8689, allocations: 93.42 kB / 0.9622 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.8697, allocations: 165.9 kB / 0.9624 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.8732, allocations: 2.995 MB / 0.9653 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.8736, allocations: 0.7824 MB / 0.9661 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.8739, allocations: 58.58 kB / 0.9661 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.874, allocations: 96.58 kB / 0.9662 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.874, allocations: 1.203 kB / 0.9662 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.902, allocations: 8.95 MB / 0.975 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.641, allocations: 9.297 kB / 0.975 GB, free: 6.969 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)