Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_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.0008881/0.000888, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009543/0.0009544, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005615/0.0005619, allocations: 16.34 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2536, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8161/1.07, allocations: 152.1 MB / 0.9359 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003258/1.073, allocations: 1.472 MB / 0.9374 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/1.073, allocations: 12.94 kB / 0.9374 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005654/1.074, allocations: 104.2 kB / 0.9375 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/1.076, allocations: 0.5119 MB / 0.938 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/1.078, allocations: 461.7 kB / 0.9384 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001159/1.079, allocations: 0.8409 MB / 0.9392 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/1.079, allocations: 185.5 kB / 0.9394 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/1.08, allocations: 311.8 kB / 0.9397 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/1.08, allocations: 223.4 kB / 0.9399 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/1.08, allocations: 14.19 kB / 0.9399 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/1.081, allocations: 466.6 kB / 0.9404 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/1.082, allocations: 94.39 kB / 0.9405 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/1.082, allocations: 86.95 kB / 0.9406 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009164/1.083, allocations: 437.4 kB / 0.941 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.083, allocations: 5.438 kB / 0.941 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.21e-06/1.083, allocations: 4.844 kB / 0.941 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.083, allocations: 0 / 0.941 GB, free: 21.34 MB / 0.7325 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.001442/1.085, allocations: 0.613 MB / 0.9416 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/1.085, allocations: 9.312 kB / 0.9416 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/1.085, allocations: 61.67 kB / 0.9417 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.086, allocations: 163.9 kB / 0.9418 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/1.087, allocations: 305.6 kB / 0.9421 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.087, allocations: 17.59 kB / 0.9421 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/1.087, allocations: 26.89 kB / 0.9421 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/1.087, allocations: 289.9 kB / 0.9424 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.087, allocations: 0.6562 kB / 0.9424 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.087, allocations: 9.625 kB / 0.9424 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.087, allocations: 6.062 kB / 0.9424 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/1.088, allocations: 212.8 kB / 0.9426 GB, free: 20.48 MB / 0.7325 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.00167/1.09, allocations: 1.23 MB / 0.9438 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/1.09, allocations: 151.1 kB / 0.944 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/1.09, allocations: 103.6 kB / 0.9441 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/1.091, allocations: 314.5 kB / 0.9444 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/1.091, allocations: 38.59 kB / 0.9444 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.625e-06/1.091, allocations: 4 kB / 0.9444 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0009336/1.092, allocations: 311.3 kB / 0.9447 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/1.092, allocations: 59.5 kB / 0.9448 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/1.092, allocations: 316.9 kB / 0.9451 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/1.092, allocations: 30.05 kB / 0.9451 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/1.093, allocations: 185.3 kB / 0.9453 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/1.093, allocations: 56.03 kB / 0.9453 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.093, allocations: 3.75 kB / 0.9453 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.093, allocations: 344 kB / 0.9457 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.093, allocations: 81.16 kB / 0.9457 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.093, allocations: 129.4 kB / 0.9459 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/1.094, allocations: 89 kB / 0.946 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.094, allocations: 1.125 kB / 0.946 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00065/1.094, allocations: 263.8 kB / 0.9462 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.094, allocations: 5.844 kB / 0.9462 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.094, allocations: 1.531 kB / 0.9462 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/1.094, allocations: 2.531 kB / 0.9462 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/1.095, allocations: 46.73 kB / 0.9463 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.095, allocations: 5.422 kB / 0.9463 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/1.095, allocations: 37.73 kB / 0.9463 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/1.095, allocations: 15.7 kB / 0.9463 GB, free: 18.43 MB / 0.7325 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.000213/1.095, allocations: 159.5 kB / 0.9465 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/1.095, allocations: 34.44 kB / 0.9465 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/1.096, allocations: 238.8 kB / 0.9467 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.096, allocations: 2.438 kB / 0.9467 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.096, allocations: 0 / 0.9467 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.096, allocations: 3.734 kB / 0.9467 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.097, allocations: 0.711 MB / 0.9474 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.097, allocations: 6.469 kB / 0.9474 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.098, allocations: 39.19 kB / 0.9475 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.098, allocations: 3.188 kB / 0.9475 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.098, allocations: 7 kB / 0.9475 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.098, allocations: 4.719 kB / 0.9475 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.098, allocations: 5.328 kB / 0.9475 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/1.098, allocations: 467.3 kB / 0.9479 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.099, allocations: 125.4 kB / 0.9481 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/1.099, allocations: 6.094 kB / 0.9481 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/1.099, allocations: 16.66 kB / 0.9481 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/1.099, allocations: 27.03 kB / 0.9481 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.099, allocations: 5 kB / 0.9481 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002922/1.099, allocations: 227 kB / 0.9483 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.099, allocations: 0 / 0.9483 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005169/1.1, allocations: 82.56 kB / 0.9484 GB, free: 17.46 MB / 0.7325 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.001443/1.101, allocations: 1.065 MB / 0.9494 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005202/1.102, allocations: 189.3 kB / 0.9496 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.102, allocations: 1.625 kB / 0.9496 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.102, allocations: 102 kB / 0.9497 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/1.103, allocations: 161.3 kB / 0.9499 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/1.106, allocations: 1.862 MB / 0.9517 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/1.107, allocations: 0.7863 MB / 0.9525 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002696/1.107, allocations: 65.83 kB / 0.9525 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.107, allocations: 91.78 kB / 0.9526 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.107, allocations: 0 / 0.9526 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/1.134, allocations: 8.399 MB / 0.9608 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.134, allocations: 216.8 kB / 0.961 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/3.269, allocations: 0 / 0.961 GB, free: 14.22 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: