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.006235/0.006235, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001364/0.001365, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 294.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8911/0.8911, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 107.8 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4461, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1642/0.6103, allocations: 167.4 MB / 0.9294 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.6133, allocations: 1.561 MB / 0.9309 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.6138, allocations: 15.88 kB / 0.9309 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.6143, allocations: 146.9 kB / 0.9311 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6161, allocations: 0.7039 MB / 0.9318 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6176, allocations: 0.6176 MB / 0.9324 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.6184, allocations: 0.7137 MB / 0.9331 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.6188, allocations: 233.1 kB / 0.9333 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.6193, allocations: 350.6 kB / 0.9336 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.6196, allocations: 227.1 kB / 0.9338 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.6197, allocations: 24 kB / 0.9338 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.621, allocations: 0.8689 MB / 0.9347 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.6211, allocations: 103.7 kB / 0.9348 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6213, allocations: 179.1 kB / 0.935 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.6222, allocations: 0.7324 MB / 0.9357 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6222, allocations: 0 / 0.9357 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6222, allocations: 0 / 0.9357 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6222, allocations: 4 kB / 0.9357 GB, free: 5.352 MB / 0.7012 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.000872/0.6231, allocations: 0.6621 MB / 0.9363 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6231, allocations: 8.031 kB / 0.9363 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.6232, allocations: 58.55 kB / 0.9364 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.6243, allocations: 159.4 kB / 0.9365 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.6248, allocations: 322.6 kB / 0.9369 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6248, allocations: 24.5 kB / 0.9369 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.6249, allocations: 24 kB / 0.9369 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.6253, allocations: 285.8 kB / 0.9372 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6253, allocations: 0 / 0.9372 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.6254, allocations: 12 kB / 0.9372 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6254, allocations: 4 kB / 0.9372 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.6258, allocations: 200.9 kB / 0.9374 GB, free: 3.5 MB / 0.7012 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.001299/0.6271, allocations: 1.234 MB / 0.9386 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.6273, allocations: 146.5 kB / 0.9387 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.6275, allocations: 100.8 kB / 0.9388 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.6281, allocations: 303.2 kB / 0.9391 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6281, allocations: 34.56 kB / 0.9391 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.6281, allocations: 0 / 0.9391 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007184/0.6288, allocations: 293.4 kB / 0.9394 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.6289, allocations: 59.31 kB / 0.9395 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.6292, allocations: 320.5 kB / 0.9398 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.6292, allocations: 33.7 kB / 0.9398 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.6293, allocations: 180.2 kB / 0.94 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.6294, allocations: 59.11 kB / 0.94 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.6295, allocations: 41.7 kB / 0.9401 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6296, allocations: 338.8 kB / 0.9404 GB, free: 168 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.6298, allocations: 79.88 kB / 0.9405 GB, free: 88 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.63, allocations: 129 kB / 0.9406 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.6303, allocations: 208.1 kB / 0.9408 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6303, allocations: 0 / 0.9408 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004297/0.6308, allocations: 253 kB / 0.941 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6308, allocations: 4 kB / 0.9411 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6308, allocations: 4 kB / 0.9411 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6308, allocations: 4.094 kB / 0.9411 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.6311, allocations: 47.91 kB / 0.9411 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6311, allocations: 4 kB / 0.9411 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.6313, allocations: 31.67 kB / 0.9411 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.6313, allocations: 8 kB / 0.9411 GB, free: 15.37 MB / 0.7169 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.0001393/0.6314, allocations: 161.6 kB / 0.9413 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.6315, allocations: 27.62 kB / 0.9413 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.6319, allocations: 231.8 kB / 0.9415 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.632, allocations: 4 kB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.632, allocations: 0 / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.632, allocations: 3.984 kB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/0.6329, allocations: 0.7031 MB / 0.9422 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6329, allocations: 8 kB / 0.9423 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6331, allocations: 35.92 kB / 0.9423 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6331, allocations: 3.984 kB / 0.9423 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.6331, allocations: 12.16 kB / 0.9423 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6332, allocations: 11.98 kB / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6332, allocations: 0 / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.6338, allocations: 452.9 kB / 0.9427 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6339, allocations: 124.6 kB / 0.9429 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.6339, allocations: 11.94 kB / 0.9429 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6341, allocations: 11.98 kB / 0.9429 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.6342, allocations: 16.05 kB / 0.9429 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6342, allocations: 8 kB / 0.9429 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001945/0.6344, allocations: 231 kB / 0.9431 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6344, allocations: 0 / 0.9431 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003578/0.6348, allocations: 87.89 kB / 0.9432 GB, free: 13.1 MB / 0.7169 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.001104/0.6359, allocations: 1.043 MB / 0.9442 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.6363, allocations: 179.8 kB / 0.9444 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6363, allocations: 192 / 0.9444 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.6365, allocations: 95.83 kB / 0.9445 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.6373, allocations: 165.9 kB / 0.9447 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.6408, allocations: 3.002 MB / 0.9476 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.6412, allocations: 0.7834 MB / 0.9483 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000199/0.6414, allocations: 66.92 kB / 0.9484 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6415, allocations: 91.41 kB / 0.9485 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.6415, allocations: 0 / 0.9485 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/1.04, allocations: 9.167 MB / 0.9575 GB, free: 43.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/8.503, allocations: 11.27 kB / 0.9575 GB, free: 43.91 MB / 0.7169 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)