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.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11 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.001162/0.001162, allocations: 177.6 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009318/0.0009317, allocations: 94.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 11.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2358, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1688/0.4047, allocations: 140.3 MB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.4079, allocations: 1.644 MB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.4082, allocations: 7.938 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.4088, allocations: 179.2 kB / 1.039 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.4103, allocations: 0.5336 MB / 1.039 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.4118, allocations: 0.5072 MB / 1.04 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.4124, allocations: 444.5 kB / 1.04 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.4128, allocations: 185.3 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007673/0.4135, allocations: 342.9 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.4138, allocations: 159.4 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.4138, allocations: 16 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009268/0.4147, allocations: 423.3 kB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4149, allocations: 95.7 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.415, allocations: 85.52 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.4155, allocations: 403.4 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.4155, allocations: 0 / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.055e-06/0.4155, allocations: 0 / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4155, allocations: 3.938 kB / 1.042 GB, free: 14.17 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.000941/0.4165, allocations: 0.6 MB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4165, allocations: 8.031 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.4166, allocations: 54.55 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.4178, allocations: 163.4 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.4182, allocations: 310.7 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.4183, allocations: 20.56 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.4183, allocations: 24 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.4188, allocations: 285.8 kB / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4188, allocations: 0 / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.4189, allocations: 8 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4189, allocations: 11.98 kB / 1.043 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.4193, allocations: 212.9 kB / 1.044 GB, free: 12.37 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.001509/0.4209, allocations: 1.23 MB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.4212, allocations: 154.5 kB / 1.045 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.4216, allocations: 145 kB / 1.045 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4216, allocations: 34.56 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.4216, allocations: 0 / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0007772/0.4224, allocations: 305.4 kB / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.4225, allocations: 59.34 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.4228, allocations: 316.5 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4228, allocations: 33.7 kB / 1.046 GB, free: 9.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.423, allocations: 180.2 kB / 1.046 GB, free: 9.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.423, allocations: 59.11 kB / 1.046 GB, free: 9.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.423, allocations: 4 kB / 1.046 GB, free: 9.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4232, allocations: 346.7 kB / 1.046 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.4234, allocations: 75.95 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.4236, allocations: 121.1 kB / 1.047 GB, free: 9.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4238, allocations: 95.98 kB / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4238, allocations: 3.953 kB / 1.047 GB, free: 9.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005025/0.4243, allocations: 266.3 kB / 1.047 GB, free: 8.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4243, allocations: 10.66 kB / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4244, allocations: 0 / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4244, allocations: 4 kB / 1.047 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4246, allocations: 51.91 kB / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4246, allocations: 4 kB / 1.047 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.4249, allocations: 31.83 kB / 1.047 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.4249, allocations: 12 kB / 1.047 GB, free: 8.668 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.0001688/0.4251, allocations: 157.7 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.4252, allocations: 31.67 kB / 1.047 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.4257, allocations: 244.6 kB / 1.047 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4257, allocations: 0 / 1.047 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4257, allocations: 0 / 1.047 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4258, allocations: 0 / 1.047 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4269, allocations: 0.7187 MB / 1.048 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.427, allocations: 4 kB / 1.048 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4272, allocations: 35.92 kB / 1.048 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/0.4272, allocations: 4 kB / 1.048 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4272, allocations: 11.94 kB / 1.048 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4272, allocations: 0 / 1.048 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4272, allocations: 11.94 kB / 1.048 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.4281, allocations: 0.5361 MB / 1.049 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4283, allocations: 124.7 kB / 1.049 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.4283, allocations: 8 kB / 1.049 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.4285, allocations: 19.92 kB / 1.049 GB, free: 6.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4286, allocations: 24 kB / 1.049 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4286, allocations: 4 kB / 1.049 GB, free: 6.551 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002373/0.4288, allocations: 227 kB / 1.049 GB, free: 6.332 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4288, allocations: 96 / 1.049 GB, free: 6.332 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004288/0.4293, allocations: 91.77 kB / 1.049 GB, free: 6.242 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.001521/0.4308, allocations: 1.625 MB / 1.051 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.4312, allocations: 193.5 kB / 1.051 GB, free: 4.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4313, allocations: 4 kB / 1.051 GB, free: 4.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4315, allocations: 99.81 kB / 1.051 GB, free: 4.262 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.4323, allocations: 149.9 kB / 1.051 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.4354, allocations: 2.593 MB / 1.054 GB, free: 1.438 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4358, allocations: 0.7875 MB / 1.055 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.436, allocations: 66.92 kB / 1.055 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.4362, allocations: 91.41 kB / 1.055 GB, free: 480 kB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.4362, allocations: 4 kB / 1.055 GB, free: 476 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4733/0.9095, allocations: 8.39 MB / 1.063 GB, free: 154.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.9098, allocations: 229 kB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.179, allocations: 0 / 1.063 GB, free: 154.6 MB / 0.698 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)