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.001615/0.001615, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001305/0.001305, allocations: 193.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222 MB, free: 4.738 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.703/1.703, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001435/0.001435, allocations: 70.8 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2318, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5318/0.7637, allocations: 165.2 MB / 0.9441 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.7662, allocations: 1.571 MB / 0.9456 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.7665, allocations: 13.78 kB / 0.9456 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.7669, allocations: 119 kB / 0.9457 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.7684, allocations: 0.6658 MB / 0.9464 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.7697, allocations: 0.5503 MB / 0.9469 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00082/0.7705, allocations: 0.9901 MB / 0.9479 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.7708, allocations: 206.8 kB / 0.9481 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.7714, allocations: 320.5 kB / 0.9484 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.7716, allocations: 234.7 kB / 0.9486 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.7717, allocations: 16.53 kB / 0.9486 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.7732, allocations: 1.018 MB / 0.9496 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7733, allocations: 96.41 kB / 0.9497 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.7735, allocations: 165.6 kB / 0.9499 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.7746, allocations: 0.7742 MB / 0.9506 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7746, allocations: 4.656 kB / 0.9506 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.81e-07/0.7746, allocations: 0 / 0.9506 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7746, allocations: 0 / 0.9506 GB, free: 5.504 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.001107/0.7757, allocations: 0.6571 MB / 0.9513 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7757, allocations: 9.625 kB / 0.9513 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.7758, allocations: 62.78 kB / 0.9513 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.777, allocations: 159.2 kB / 0.9515 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.7774, allocations: 311.7 kB / 0.9518 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7775, allocations: 17.41 kB / 0.9518 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.7775, allocations: 26.86 kB / 0.9518 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.778, allocations: 282 kB / 0.9521 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.7781, allocations: 6 kB / 0.9521 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.7781, allocations: 13.06 kB / 0.9521 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7781, allocations: 5.531 kB / 0.9521 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.7785, allocations: 208 kB / 0.9523 GB, free: 20.63 MB / 0.7481 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.001257/0.7798, allocations: 1.224 MB / 0.9535 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.7801, allocations: 152.8 kB / 0.9537 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.7803, allocations: 95.69 kB / 0.9538 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.7809, allocations: 302.2 kB / 0.9541 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.7809, allocations: 34.03 kB / 0.9541 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.7809, allocations: 0 / 0.9541 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0007426/0.7817, allocations: 299.3 kB / 0.9544 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.7817, allocations: 56.69 kB / 0.9544 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.782, allocations: 324.9 kB / 0.9547 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.7821, allocations: 31.3 kB / 0.9548 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.7822, allocations: 180.8 kB / 0.9549 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.7822, allocations: 59.98 kB / 0.955 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.7823, allocations: 44.8 kB / 0.955 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7824, allocations: 340.9 kB / 0.9554 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.7826, allocations: 73.05 kB / 0.9554 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.7828, allocations: 130.6 kB / 0.9556 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.7832, allocations: 199.1 kB / 0.9557 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7832, allocations: 5.219 kB / 0.9557 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005151/0.7837, allocations: 253 kB / 0.956 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7837, allocations: 6.797 kB / 0.956 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7838, allocations: 3.875 kB / 0.956 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7838, allocations: 6.75 kB / 0.956 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.784, allocations: 44.67 kB / 0.9561 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.784, allocations: 2.969 kB / 0.9561 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.7843, allocations: 39.41 kB / 0.9561 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.7843, allocations: 12.06 kB / 0.9561 GB, free: 18.51 MB / 0.7481 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.0001493/0.7845, allocations: 153.9 kB / 0.9562 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.7846, allocations: 33.91 kB / 0.9563 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.7851, allocations: 226.4 kB / 0.9565 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7851, allocations: 2.25 kB / 0.9565 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7851, allocations: 1.203 kB / 0.9565 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7851, allocations: 2.766 kB / 0.9565 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.7863, allocations: 0.7039 MB / 0.9572 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7863, allocations: 2.25 kB / 0.9572 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.7865, allocations: 35.61 kB / 0.9572 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7865, allocations: 6.969 kB / 0.9572 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.7865, allocations: 11.52 kB / 0.9572 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.7865, allocations: 8.281 kB / 0.9573 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7866, allocations: 5.438 kB / 0.9573 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.7873, allocations: 451.1 kB / 0.9577 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.7874, allocations: 124.6 kB / 0.9578 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.7875, allocations: 3.219 kB / 0.9578 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.7877, allocations: 27.16 kB / 0.9578 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.7877, allocations: 17.22 kB / 0.9579 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.7878, allocations: 5.5 kB / 0.9579 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002236/0.788, allocations: 234.5 kB / 0.9581 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.788, allocations: 0 / 0.9581 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004416/0.7884, allocations: 83.75 kB / 0.9582 GB, free: 17.55 MB / 0.7481 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.001084/0.7895, allocations: 1.047 MB / 0.9592 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.7899, allocations: 176.8 kB / 0.9594 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.79, allocations: 3 kB / 0.9594 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.7901, allocations: 98.14 kB / 0.9594 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.791, allocations: 157.4 kB / 0.9596 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.7944, allocations: 3.1 MB / 0.9626 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7947, allocations: 0.7821 MB / 0.9634 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.795, allocations: 69.69 kB / 0.9635 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.7951, allocations: 94.28 kB / 0.9635 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.7951, allocations: 0 / 0.9635 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.8134, allocations: 8.531 MB / 0.9719 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.8136, allocations: 228.2 kB / 0.9721 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.13, allocations: 0 / 0.9721 GB, free: 13.35 MB / 0.7481 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/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)