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.001063/0.001063, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.208/1.208, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.566/1.566, allocations: 292.3 MB / 0.5489 GB, free: 13.55 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.001539/0.001539, allocations: 69.28 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1929, allocations: 114.5 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5182/0.7112, allocations: 167.4 MB / 0.9469 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.7132, allocations: 1.543 MB / 0.9484 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.7134, allocations: 14.16 kB / 0.9484 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.7138, allocations: 142.9 kB / 0.9486 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.7151, allocations: 0.7024 MB / 0.9493 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.7163, allocations: 0.5999 MB / 0.9498 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.7169, allocations: 0.6996 MB / 0.9505 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.7172, allocations: 239.1 kB / 0.9508 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.7176, allocations: 328.9 kB / 0.9511 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.7179, allocations: 221.7 kB / 0.9513 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.7179, allocations: 26.81 kB / 0.9513 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.7191, allocations: 0.8651 MB / 0.9521 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.7192, allocations: 106.1 kB / 0.9522 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.7194, allocations: 169.9 kB / 0.9524 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00098/0.7204, allocations: 0.7172 MB / 0.9531 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7204, allocations: 0.9375 kB / 0.9531 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7204, allocations: 0 / 0.9531 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7204, allocations: 1.094 kB / 0.9531 GB, free: 5.379 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.0009913/0.7214, allocations: 0.6518 MB / 0.9537 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.7214, allocations: 11.48 kB / 0.9538 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.7215, allocations: 57.2 kB / 0.9538 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.7226, allocations: 149.1 kB / 0.954 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.7229, allocations: 309.4 kB / 0.9543 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.7229, allocations: 17.81 kB / 0.9543 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.723, allocations: 24.27 kB / 0.9543 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.7234, allocations: 282.4 kB / 0.9546 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.7234, allocations: 0 / 0.9546 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.7235, allocations: 9.875 kB / 0.9546 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7235, allocations: 4.25 kB / 0.9546 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.7238, allocations: 201.8 kB / 0.9548 GB, free: 20.52 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.001175/0.725, allocations: 1.211 MB / 0.956 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.7253, allocations: 140.3 kB / 0.9561 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.7254, allocations: 87.2 kB / 0.9562 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.726, allocations: 303.7 kB / 0.9565 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.726, allocations: 44.31 kB / 0.9565 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.726, allocations: 0 / 0.9565 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0006863/0.7267, allocations: 277.3 kB / 0.9568 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.7268, allocations: 53.91 kB / 0.9568 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.7271, allocations: 315.2 kB / 0.9571 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.7271, allocations: 33.73 kB / 0.9571 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7272, allocations: 184.1 kB / 0.9573 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.7272, allocations: 54.61 kB / 0.9574 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.7273, allocations: 42.7 kB / 0.9574 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.7274, allocations: 341.6 kB / 0.9577 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.7276, allocations: 65.81 kB / 0.9578 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7278, allocations: 131.9 kB / 0.9579 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.7281, allocations: 186 kB / 0.9581 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7281, allocations: 1.031 kB / 0.9581 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004848/0.7286, allocations: 237.4 kB / 0.9583 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7286, allocations: 5.781 kB / 0.9583 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7286, allocations: 2.625 kB / 0.9583 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7286, allocations: 2.812 kB / 0.9583 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.7288, allocations: 45.09 kB / 0.9584 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7289, allocations: 8.359 kB / 0.9584 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.729, allocations: 32.77 kB / 0.9584 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.7291, allocations: 11.8 kB / 0.9584 GB, free: 18.41 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 (22): * Single equations (assignments): 22 * 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.0001313/0.7292, allocations: 150.1 kB / 0.9586 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.7293, allocations: 29.72 kB / 0.9586 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.7297, allocations: 229.1 kB / 0.9588 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.7298, allocations: 4.75 kB / 0.9588 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7298, allocations: 0.5938 kB / 0.9588 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7298, allocations: 0 / 0.9588 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.7307, allocations: 0.6769 MB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7307, allocations: 2.406 kB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.7309, allocations: 37.14 kB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.7309, allocations: 6.344 kB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7309, allocations: 3.812 kB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.7309, allocations: 4.406 kB / 0.9595 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.731, allocations: 5.719 kB / 0.9596 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.7316, allocations: 433.8 kB / 0.96 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.7317, allocations: 126.1 kB / 0.9601 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.7317, allocations: 11.09 kB / 0.9601 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.7319, allocations: 8.125 kB / 0.9601 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.732, allocations: 14.09 kB / 0.9601 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.732, allocations: 9.469 kB / 0.9601 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001883/0.7322, allocations: 229.7 kB / 0.9603 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7322, allocations: 0 / 0.9603 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003541/0.7326, allocations: 78.47 kB / 0.9604 GB, free: 17.45 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 (15): * Single equations (assignments): 15 * 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.001103/0.7337, allocations: 1.027 MB / 0.9614 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.7341, allocations: 178.4 kB / 0.9616 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7341, allocations: 1.375 kB / 0.9616 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.7343, allocations: 98.06 kB / 0.9617 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.7352, allocations: 157.5 kB / 0.9618 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.7383, allocations: 2.927 MB / 0.9647 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.7386, allocations: 0.7815 MB / 0.9655 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.7388, allocations: 65.47 kB / 0.9655 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.7389, allocations: 88.5 kB / 0.9656 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.7389, allocations: 0 / 0.9656 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.14/4.879, allocations: 8.739 MB / 0.9741 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/15.93, allocations: 6.656 kB / 0.9741 GB, free: 13.48 MB / 0.7481 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/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)