Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.006291/0.006291, allocations: 101 kB / 15.73 MB, free: 6.059 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.001603/0.001603, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 284.8 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.977/0.977, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 103.8 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3791, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1939/0.5731, allocations: 167.3 MB / 0.9293 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.5758, allocations: 1.551 MB / 0.9309 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.5761, allocations: 15.88 kB / 0.9309 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.5765, allocations: 150.9 kB / 0.931 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.5781, allocations: 0.7039 MB / 0.9317 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.5795, allocations: 0.6026 MB / 0.9323 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.5804, allocations: 0.7012 MB / 0.933 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.5808, allocations: 233.1 kB / 0.9332 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.5814, allocations: 326.8 kB / 0.9335 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.5817, allocations: 227 kB / 0.9337 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.5818, allocations: 24 kB / 0.9338 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5832, allocations: 0.8651 MB / 0.9346 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.5834, allocations: 107.6 kB / 0.9347 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.5835, allocations: 171.2 kB / 0.9349 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.5846, allocations: 0.7257 MB / 0.9356 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5846, allocations: 0 / 0.9356 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5846, allocations: 0 / 0.9356 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5846, allocations: 0 / 0.9356 GB, free: 5.508 MB / 0.7012 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.0009654/0.5856, allocations: 0.6575 MB / 0.9362 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5856, allocations: 12.03 kB / 0.9362 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.5857, allocations: 66.53 kB / 0.9363 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5868, allocations: 151.6 kB / 0.9364 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.5874, allocations: 321.9 kB / 0.9367 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.5874, allocations: 20.44 kB / 0.9368 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.5875, allocations: 23.95 kB / 0.9368 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.588, allocations: 283.4 kB / 0.9371 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.588, allocations: 0 / 0.9371 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.588, allocations: 12 kB / 0.9371 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.588, allocations: 8 kB / 0.9371 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.5884, allocations: 191.8 kB / 0.9373 GB, free: 3.668 MB / 0.7012 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.001465/0.5899, allocations: 1.206 MB / 0.9384 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.5902, allocations: 138.5 kB / 0.9386 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.5904, allocations: 88.75 kB / 0.9387 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.5911, allocations: 311.2 kB / 0.9389 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5911, allocations: 38.5 kB / 0.939 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.5911, allocations: 0 / 0.939 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007863/0.5919, allocations: 284.5 kB / 0.9393 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.592, allocations: 51.41 kB / 0.9393 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.5923, allocations: 312.5 kB / 0.9396 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.5924, allocations: 29.7 kB / 0.9396 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5925, allocations: 188.3 kB / 0.9398 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.5926, allocations: 59.45 kB / 0.9399 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.5927, allocations: 49.66 kB / 0.9399 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5928, allocations: 338.8 kB / 0.9402 GB, free: 392 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.593, allocations: 67.89 kB / 0.9403 GB, free: 324 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.5932, allocations: 126.9 kB / 0.9404 GB, free: 180 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5936, allocations: 190.7 kB / 0.9406 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5936, allocations: 0 / 0.9406 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004921/0.5941, allocations: 241.2 kB / 0.9408 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5942, allocations: 8 kB / 0.9408 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5942, allocations: 0 / 0.9408 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5942, allocations: 4 kB / 0.9408 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5944, allocations: 43.91 kB / 0.9409 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.5944, allocations: 0 / 0.9409 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.5946, allocations: 31.83 kB / 0.9409 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5947, allocations: 8 kB / 0.9409 GB, free: 15.64 MB / 0.7169 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.0001562/0.5948, allocations: 153.8 kB / 0.9411 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.5949, allocations: 31.81 kB / 0.9411 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.5954, allocations: 216.3 kB / 0.9413 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5954, allocations: 0 / 0.9413 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5954, allocations: 4 kB / 0.9413 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5954, allocations: 0 / 0.9413 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.5965, allocations: 0.6912 MB / 0.942 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5965, allocations: 224 / 0.942 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5967, allocations: 39.98 kB / 0.942 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5967, allocations: 3.938 kB / 0.942 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5967, allocations: 4 kB / 0.942 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5967, allocations: 7.938 kB / 0.942 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5967, allocations: 0 / 0.942 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.5974, allocations: 437 kB / 0.9425 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.5976, allocations: 128.9 kB / 0.9426 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.5976, allocations: 8.062 kB / 0.9426 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5978, allocations: 12 kB / 0.9426 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5979, allocations: 16.12 kB / 0.9426 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5979, allocations: 7.984 kB / 0.9426 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002539/0.5981, allocations: 227 kB / 0.9428 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5981, allocations: 0 / 0.9428 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004941/0.5986, allocations: 75.92 kB / 0.9429 GB, free: 13.45 MB / 0.7169 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.001266/0.5999, allocations: 1.044 MB / 0.9439 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.6004, allocations: 175.8 kB / 0.9441 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6004, allocations: 0 / 0.9441 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.6006, allocations: 83.89 kB / 0.9442 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.6015, allocations: 161.5 kB / 0.9443 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.6054, allocations: 2.924 MB / 0.9472 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.6058, allocations: 0.7795 MB / 0.948 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000197/0.606, allocations: 62.92 kB / 0.948 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6062, allocations: 87.41 kB / 0.9481 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6062, allocations: 0 / 0.9481 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/0.9174, allocations: 8.842 MB / 0.9567 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.938, allocations: 11.03 kB / 0.9567 GB, free: 190.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)