Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.000791/0.0007911, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009038/0.0009038, allocations: 172.7 kB / 15.95 MB, free: 208 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.76/1.76, allocations: 205.4 MB / 222.1 MB, free: 5.719 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.723/1.723, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005169/0.0005169, allocations: 23.03 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2774, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8926/1.17, allocations: 152 MB / 0.9359 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003156/1.173, allocations: 1.474 MB / 0.9373 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/1.174, allocations: 10.72 kB / 0.9373 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006393/1.174, allocations: 106.7 kB / 0.9374 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/1.176, allocations: 0.5057 MB / 0.9379 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/1.178, allocations: 450.5 kB / 0.9383 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001314/1.18, allocations: 0.8376 MB / 0.9392 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/1.18, allocations: 182.2 kB / 0.9393 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/1.181, allocations: 301.7 kB / 0.9396 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/1.181, allocations: 210.6 kB / 0.9398 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/1.181, allocations: 18.03 kB / 0.9398 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/1.183, allocations: 466.1 kB / 0.9403 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/1.183, allocations: 94.86 kB / 0.9404 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/1.183, allocations: 82.77 kB / 0.9405 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009502/1.184, allocations: 434.3 kB / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.184, allocations: 0 / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.186e-06/1.184, allocations: 0 / 0.9409 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.184, allocations: 0.6562 kB / 0.9409 GB, free: 21.44 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001285/1.186, allocations: 0.6053 MB / 0.9415 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.284e-05/1.186, allocations: 8.719 kB / 0.9415 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/1.186, allocations: 59.53 kB / 0.9415 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/1.187, allocations: 157.8 kB / 0.9417 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/1.188, allocations: 293 kB / 0.942 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.188, allocations: 24.92 kB / 0.942 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/1.188, allocations: 25.38 kB / 0.942 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/1.189, allocations: 277.7 kB / 0.9423 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.189, allocations: 1.125 kB / 0.9423 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/1.189, allocations: 8.844 kB / 0.9423 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/1.189, allocations: 15.23 kB / 0.9423 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/1.189, allocations: 202.9 kB / 0.9425 GB, free: 20.58 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.001984/1.191, allocations: 1.219 MB / 0.9437 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/1.192, allocations: 142.3 kB / 0.9438 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.192, allocations: 100.3 kB / 0.9439 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/1.193, allocations: 315.7 kB / 0.9442 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.193, allocations: 31.72 kB / 0.9442 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/1.193, allocations: 0 / 0.9442 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009036/1.194, allocations: 303.1 kB / 0.9445 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.194, allocations: 52.78 kB / 0.9446 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/1.194, allocations: 309.9 kB / 0.9449 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/1.194, allocations: 29.95 kB / 0.9449 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/1.194, allocations: 185.6 kB / 0.9451 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/1.194, allocations: 56.41 kB / 0.9451 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/1.194, allocations: 3.188 kB / 0.9451 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.195, allocations: 341.6 kB / 0.9455 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.195, allocations: 67.86 kB / 0.9455 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/1.195, allocations: 134.2 kB / 0.9457 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/1.195, allocations: 81.55 kB / 0.9457 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.195, allocations: 4.594 kB / 0.9457 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005965/1.196, allocations: 246.5 kB / 0.946 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.196, allocations: 5.5 kB / 0.946 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.196, allocations: 2.125 kB / 0.946 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.196, allocations: 6.594 kB / 0.946 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/1.196, allocations: 45.72 kB / 0.946 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.196, allocations: 8.031 kB / 0.946 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.196, allocations: 32.83 kB / 0.9461 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/1.196, allocations: 10.66 kB / 0.9461 GB, free: 18.54 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 (22): * Single equations (assignments): 22 * 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.0002056/1.197, allocations: 160.5 kB / 0.9462 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/1.197, allocations: 26.75 kB / 0.9463 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/1.197, allocations: 220.2 kB / 0.9465 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.197, allocations: 2.312 kB / 0.9465 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.197, allocations: 6.438 kB / 0.9465 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.197, allocations: 0.6875 kB / 0.9465 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/1.199, allocations: 0.6985 MB / 0.9472 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.199, allocations: 2.312 kB / 0.9472 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/1.199, allocations: 35.33 kB / 0.9472 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.199, allocations: 6.656 kB / 0.9472 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/1.199, allocations: 3.562 kB / 0.9472 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.199, allocations: 10.58 kB / 0.9472 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.199, allocations: 5.312 kB / 0.9472 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/1.2, allocations: 443.7 kB / 0.9476 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.2, allocations: 129.9 kB / 0.9478 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.2, allocations: 7.344 kB / 0.9478 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.201, allocations: 12.45 kB / 0.9478 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.201, allocations: 21.53 kB / 0.9478 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.201, allocations: 7.375 kB / 0.9478 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002605/1.201, allocations: 228.7 kB / 0.948 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.201, allocations: 1.75 kB / 0.948 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005001/1.201, allocations: 73.67 kB / 0.9481 GB, free: 17.58 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 (15): * Single equations (assignments): 15 * 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.001432/1.203, allocations: 1.044 MB / 0.9491 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004645/1.203, allocations: 181.5 kB / 0.9493 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.203, allocations: 1 kB / 0.9493 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/1.203, allocations: 96.5 kB / 0.9494 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/1.204, allocations: 160.2 kB / 0.9495 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/1.207, allocations: 1.779 MB / 0.9513 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/1.208, allocations: 0.7856 MB / 0.952 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000255/1.208, allocations: 61.91 kB / 0.9521 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.208, allocations: 85.41 kB / 0.9522 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.208, allocations: 4 kB / 0.9522 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/1.236, allocations: 8.229 MB / 0.9602 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.236, allocations: 223.5 kB / 0.9604 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/3.351, allocations: 0.625 kB / 0.9604 GB, free: 14.48 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: