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.552/1.552, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0009314/0.0009313, allocations: 182.6 kB / 372.3 MB, free: 10.12 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.365/1.365, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0006987/0.0006988, allocations: 90.23 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005871, allocations: 16.73 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5696/0.774, allocations: 152.1 MB / 1.129 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.7764, allocations: 1.492 MB / 1.13 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.7767, allocations: 10.83 kB / 1.13 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.7771, allocations: 106.7 kB / 1.13 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.7785, allocations: 0.6275 MB / 1.131 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.7797, allocations: 0.5073 MB / 1.131 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.7804, allocations: 0.849 MB / 1.132 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.7807, allocations: 201.4 kB / 1.132 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.7812, allocations: 313.6 kB / 1.133 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.7814, allocations: 220.6 kB / 1.133 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.7815, allocations: 13.75 kB / 1.133 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.7827, allocations: 0.9983 MB / 1.134 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.7828, allocations: 100.2 kB / 1.134 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.783, allocations: 184 kB / 1.134 GB, free: 16.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.7835, allocations: 0.4968 MB / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7835, allocations: 0 / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7835, allocations: 0 / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7835, allocations: 0 / 1.135 GB, free: 16.77 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.0007271/0.7843, allocations: 0.6127 MB / 1.135 GB, free: 16.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7843, allocations: 10.53 kB / 1.135 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.7844, allocations: 57.05 kB / 1.135 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.7853, allocations: 158.5 kB / 1.135 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.7856, allocations: 314.1 kB / 1.136 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.7856, allocations: 15.72 kB / 1.136 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.7857, allocations: 30.09 kB / 1.136 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.7861, allocations: 286.3 kB / 1.136 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7861, allocations: 0 / 1.136 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.7862, allocations: 11.81 kB / 1.136 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.7862, allocations: 7.188 kB / 1.136 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.7866, allocations: 214.4 kB / 1.136 GB, free: 15.88 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.001142/0.7877, allocations: 1.234 MB / 1.138 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.788, allocations: 160.8 kB / 1.138 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.7882, allocations: 101.2 kB / 1.138 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.7887, allocations: 314.4 kB / 1.138 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.7888, allocations: 36 kB / 1.138 GB, free: 14.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.7888, allocations: 0 / 1.138 GB, free: 14.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0007063/0.7895, allocations: 310.7 kB / 1.138 GB, free: 14.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.7895, allocations: 58.28 kB / 1.138 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.7898, allocations: 319.4 kB / 1.139 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.7898, allocations: 31.64 kB / 1.139 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.7899, allocations: 185 kB / 1.139 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.79, allocations: 58.41 kB / 1.139 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.79, allocations: 5.844 kB / 1.139 GB, free: 14.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7901, allocations: 342.6 kB / 1.139 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.7902, allocations: 71.73 kB / 1.139 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.7905, allocations: 136.2 kB / 1.14 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.7908, allocations: 206.4 kB / 1.14 GB, free: 13.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7908, allocations: 3.938 kB / 1.14 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004067/0.7912, allocations: 258.1 kB / 1.14 GB, free: 13.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7912, allocations: 11.91 kB / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7912, allocations: 7.688 kB / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.7913, allocations: 0 / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.7914, allocations: 45.95 kB / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7915, allocations: 3.344 kB / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.7917, allocations: 39.5 kB / 1.14 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.7917, allocations: 18.11 kB / 1.14 GB, free: 13.73 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.0001226/0.7918, allocations: 154.4 kB / 1.14 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.7919, allocations: 28.75 kB / 1.14 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.7923, allocations: 248.9 kB / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7923, allocations: 7.344 kB / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7923, allocations: 0 / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7924, allocations: 0 / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.7933, allocations: 0.7135 MB / 1.141 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7933, allocations: 3.375 kB / 1.141 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.7934, allocations: 35.88 kB / 1.141 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7935, allocations: 7.219 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7935, allocations: 5.938 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.7935, allocations: 10.38 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7935, allocations: 7.281 kB / 1.141 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.7941, allocations: 459.5 kB / 1.142 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.7942, allocations: 128 kB / 1.142 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.7942, allocations: 6.656 kB / 1.142 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.7944, allocations: 19.36 kB / 1.142 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.7945, allocations: 13.86 kB / 1.142 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.7945, allocations: 9.5 kB / 1.142 GB, free: 12.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001776/0.7947, allocations: 227.7 kB / 1.142 GB, free: 12.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7947, allocations: 0 / 1.142 GB, free: 12.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003416/0.795, allocations: 88.25 kB / 1.142 GB, free: 12.61 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.001057/0.7961, allocations: 1.06 MB / 1.143 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.7965, allocations: 193.8 kB / 1.143 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7965, allocations: 0 / 1.143 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.7967, allocations: 99.55 kB / 1.144 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.7976, allocations: 161.9 kB / 1.144 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.8002, allocations: 1.863 MB / 1.145 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.8005, allocations: 0.7778 MB / 1.146 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.8008, allocations: 70.64 kB / 1.146 GB, free: 9.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.8009, allocations: 91.59 kB / 1.146 GB, free: 9.883 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8009, allocations: 0 / 1.146 GB, free: 9.883 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6021/1.403, allocations: 8.497 MB / 1.155 GB, free: 5.805 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/1.403, allocations: 223.9 kB / 1.155 GB, free: 5.562 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.919, allocations: 1.406 kB / 1.155 GB, free: 5.562 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)