Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_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.001001/0.001001, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009902/0.0009902, allocations: 195.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001931/0.001931, allocations: 286.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8781/0.8781, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 91.33 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.415/0.5471, allocations: 165.1 MB / 0.8408 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.5493, allocations: 1.574 MB / 0.8424 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.5495, allocations: 10.44 kB / 0.8424 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.5499, allocations: 117.9 kB / 0.8425 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.5512, allocations: 0.6701 MB / 0.8431 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.5523, allocations: 0.5527 MB / 0.8437 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.5531, allocations: 0.9864 MB / 0.8446 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.5534, allocations: 206.1 kB / 0.8448 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.554, allocations: 316 kB / 0.8451 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.5542, allocations: 237.2 kB / 0.8454 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.5543, allocations: 16.5 kB / 0.8454 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.5556, allocations: 1.014 MB / 0.8464 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.5557, allocations: 104.2 kB / 0.8465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.5559, allocations: 165.8 kB / 0.8466 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.5568, allocations: 0.775 MB / 0.8474 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5568, allocations: 0 / 0.8474 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5568, allocations: 0 / 0.8474 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5568, allocations: 2.531 kB / 0.8474 GB, free: 13.18 MB / 0.5762 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.0008868/0.5577, allocations: 0.6635 MB / 0.848 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5578, allocations: 14.84 kB / 0.848 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.5578, allocations: 54.61 kB / 0.8481 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.559, allocations: 158.8 kB / 0.8482 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.5593, allocations: 308.9 kB / 0.8485 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5594, allocations: 19.25 kB / 0.8486 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.5594, allocations: 27.92 kB / 0.8486 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.5599, allocations: 288 kB / 0.8489 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.5599, allocations: 0 / 0.8489 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.5599, allocations: 5.562 kB / 0.8489 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5599, allocations: 7.844 kB / 0.8489 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.5603, allocations: 204.6 kB / 0.8491 GB, free: 11.86 MB / 0.5762 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.001296/0.5616, allocations: 1.224 MB / 0.8503 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.5619, allocations: 149.6 kB / 0.8504 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5621, allocations: 94.7 kB / 0.8505 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.5627, allocations: 309.5 kB / 0.8508 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.5627, allocations: 33.16 kB / 0.8508 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.5627, allocations: 0 / 0.8508 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007085/0.5634, allocations: 304.6 kB / 0.8511 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5635, allocations: 51.41 kB / 0.8512 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.5638, allocations: 321.3 kB / 0.8515 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5638, allocations: 25.7 kB / 0.8515 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5639, allocations: 185.9 kB / 0.8517 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.564, allocations: 57.64 kB / 0.8517 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.564, allocations: 53.27 kB / 0.8518 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5642, allocations: 342.8 kB / 0.8521 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5643, allocations: 68.36 kB / 0.8522 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.5646, allocations: 131.1 kB / 0.8523 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.5649, allocations: 206.3 kB / 0.8525 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5649, allocations: 3.938 kB / 0.8525 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004358/0.5654, allocations: 253.6 kB / 0.8527 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5654, allocations: 8 kB / 0.8527 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5654, allocations: 2.656 kB / 0.8527 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5654, allocations: 1.375 kB / 0.8527 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.5656, allocations: 48.47 kB / 0.8528 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5656, allocations: 6.906 kB / 0.8528 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.5658, allocations: 26.8 kB / 0.8528 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.5659, allocations: 16.19 kB / 0.8528 GB, free: 8.77 MB / 0.5762 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.000131/0.566, allocations: 152.5 kB / 0.853 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.5661, allocations: 30.97 kB / 0.853 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.5665, allocations: 238.4 kB / 0.8532 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5665, allocations: 0 / 0.8532 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5665, allocations: 2.656 kB / 0.8532 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5666, allocations: 4 kB / 0.8532 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.5675, allocations: 0.7049 MB / 0.8539 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5675, allocations: 0 / 0.8539 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5677, allocations: 39.47 kB / 0.854 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5677, allocations: 2.719 kB / 0.854 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5677, allocations: 4.906 kB / 0.854 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.5677, allocations: 10.72 kB / 0.854 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5677, allocations: 4.406 kB / 0.854 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.5684, allocations: 454.9 kB / 0.8544 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5685, allocations: 126.3 kB / 0.8546 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.5685, allocations: 3 kB / 0.8546 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5687, allocations: 22.73 kB / 0.8546 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.5688, allocations: 11.77 kB / 0.8546 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5688, allocations: 9.25 kB / 0.8546 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001996/0.569, allocations: 233.1 kB / 0.8548 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.569, allocations: 0 / 0.8548 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003339/0.5693, allocations: 78.34 kB / 0.8549 GB, free: 7.211 MB / 0.5762 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.001119/0.5704, allocations: 1.06 MB / 0.8559 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.5708, allocations: 176 kB / 0.8561 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5708, allocations: 0 / 0.8561 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.571, allocations: 93.73 kB / 0.8562 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.5718, allocations: 154.7 kB / 0.8563 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.5752, allocations: 3.107 MB / 0.8594 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5755, allocations: 0.7833 MB / 0.8601 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.5757, allocations: 67.7 kB / 0.8602 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5759, allocations: 93.03 kB / 0.8603 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5759, allocations: 3.938 kB / 0.8603 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/0.9256, allocations: 8.554 MB / 0.8686 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.9258, allocations: 243.2 kB / 0.8689 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.858, allocations: 0 / 0.8689 GB, free: 14.52 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)