Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000932/0.0009321, allocations: 175 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000845/0.000845, allocations: 93.7 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 11.31 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2472, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7262/0.9735, allocations: 165 MB / 1.057 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.976, allocations: 1.614 MB / 1.059 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.9763, allocations: 17.95 kB / 1.059 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.9767, allocations: 116.8 kB / 1.059 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.9783, allocations: 0.6684 MB / 1.06 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.9797, allocations: 0.5456 MB / 1.06 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009562/0.9806, allocations: 0.9881 MB / 1.061 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.981, allocations: 193.2 kB / 1.061 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.9816, allocations: 318.8 kB / 1.062 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.9819, allocations: 229.5 kB / 1.062 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.982, allocations: 18.88 kB / 1.062 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.9839, allocations: 1.009 MB / 1.063 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.9841, allocations: 101.4 kB / 1.063 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.9843, allocations: 160 kB / 1.063 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.9858, allocations: 0.7782 MB / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9858, allocations: 0 / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9858, allocations: 0 / 1.064 GB, free: 1.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.9858, allocations: 0 / 1.064 GB, free: 1.727 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.001224/0.9871, allocations: 0.6077 MB / 1.064 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.9871, allocations: 11.09 kB / 1.064 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.9872, allocations: 60.8 kB / 1.065 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.9884, allocations: 152.2 kB / 1.065 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.9889, allocations: 316 kB / 1.065 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.9889, allocations: 26.56 kB / 1.065 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.989, allocations: 20.28 kB / 1.065 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.9895, allocations: 290.1 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9896, allocations: 0.9062 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.9896, allocations: 14.83 kB / 1.065 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.9896, allocations: 9.125 kB / 1.065 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.9901, allocations: 213.7 kB / 1.066 GB, free: 16.86 MB / 0.7136 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.001482/0.9916, allocations: 1.227 MB / 1.067 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.9919, allocations: 152.4 kB / 1.067 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.9921, allocations: 102.2 kB / 1.067 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.9927, allocations: 319.6 kB / 1.067 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.9927, allocations: 31.53 kB / 1.067 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.9928, allocations: 0 / 1.067 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0008094/0.9936, allocations: 314.9 kB / 1.068 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.9936, allocations: 53.56 kB / 1.068 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.994, allocations: 324.5 kB / 1.068 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.994, allocations: 30.95 kB / 1.068 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.9942, allocations: 188.5 kB / 1.068 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.9942, allocations: 54 kB / 1.068 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.9943, allocations: 24.67 kB / 1.068 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9944, allocations: 345.3 kB / 1.069 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.9946, allocations: 76.47 kB / 1.069 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.9948, allocations: 130.4 kB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.9952, allocations: 213.4 kB / 1.069 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9953, allocations: 0.7812 kB / 1.069 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005566/0.9958, allocations: 264.2 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9958, allocations: 8.312 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9959, allocations: 0.9375 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9959, allocations: 3.75 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.9961, allocations: 49.8 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.9961, allocations: 3.109 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.9964, allocations: 43.33 kB / 1.069 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.9964, allocations: 9.484 kB / 1.069 GB, free: 14.76 MB / 0.7136 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.0001585/0.9966, allocations: 156.6 kB / 1.069 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.9966, allocations: 30 kB / 1.07 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.9972, allocations: 254.2 kB / 1.07 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9972, allocations: 1.5 kB / 1.07 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9972, allocations: 1.25 kB / 1.07 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9972, allocations: 3.266 kB / 1.07 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.9983, allocations: 0.7118 MB / 1.07 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9983, allocations: 6.75 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.9985, allocations: 37.34 kB / 1.071 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9985, allocations: 6.312 kB / 1.071 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.9985, allocations: 7.875 kB / 1.071 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.9985, allocations: 3.438 kB / 1.071 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9985, allocations: 2.219 kB / 1.071 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.9993, allocations: 462.7 kB / 1.071 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.9994, allocations: 127.3 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.9995, allocations: 11.44 kB / 1.071 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.9997, allocations: 19 kB / 1.071 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.9998, allocations: 20.3 kB / 1.071 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.9998, allocations: 5.438 kB / 1.071 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002513/1, allocations: 231.2 kB / 1.071 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 1.859 kB / 1.071 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004145/1, allocations: 85 kB / 1.071 GB, free: 13.79 MB / 0.7136 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.001249/1.002, allocations: 1.061 MB / 1.072 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004623/1.002, allocations: 193.6 kB / 1.073 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.002, allocations: 0 / 1.073 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/1.002, allocations: 102.6 kB / 1.073 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/1.003, allocations: 151.7 kB / 1.073 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/1.01, allocations: 3.139 MB / 1.076 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/1.01, allocations: 0.7878 MB / 1.077 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004902/1.011, allocations: 64.78 kB / 1.077 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.011, allocations: 96.36 kB / 1.077 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/1.011, allocations: 3.203 kB / 1.077 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2233/1.234, allocations: 8.413 MB / 1.085 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.235, allocations: 239.6 kB / 1.085 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/3.359, allocations: 4 kB / 1.085 GB, free: 9.719 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)