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.005063/0.005063, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001187/0.001187, allocations: 190 kB / 16.67 MB, free: 6.379 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 279 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 98.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1617, allocations: 86.98 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5253/0.687, allocations: 167.3 MB / 0.9293 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.6897, allocations: 1.558 MB / 0.9309 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.69, allocations: 11.94 kB / 0.9309 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.6906, allocations: 146.9 kB / 0.931 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.6921, allocations: 0.6961 MB / 0.9317 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.6936, allocations: 0.6042 MB / 0.9323 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.6943, allocations: 0.7012 MB / 0.933 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.6947, allocations: 229.1 kB / 0.9332 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.6951, allocations: 342.8 kB / 0.9335 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.6954, allocations: 219 kB / 0.9337 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.6955, allocations: 24 kB / 0.9337 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.6967, allocations: 0.8728 MB / 0.9346 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.6968, allocations: 111.7 kB / 0.9347 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.697, allocations: 159.2 kB / 0.9349 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.6979, allocations: 0.7274 MB / 0.9356 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6979, allocations: 0 / 0.9356 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6979, allocations: 0 / 0.9356 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6979, allocations: 4 kB / 0.9356 GB, free: 5.379 MB / 0.6856 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.0008578/0.6988, allocations: 0.6505 MB / 0.9362 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6988, allocations: 8.031 kB / 0.9362 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.6989, allocations: 54.55 kB / 0.9363 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6999, allocations: 155.4 kB / 0.9364 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.7004, allocations: 325.5 kB / 0.9367 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7004, allocations: 20.44 kB / 0.9367 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.7005, allocations: 20 kB / 0.9368 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.7009, allocations: 288 kB / 0.937 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7009, allocations: 4 kB / 0.937 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.701, allocations: 4 kB / 0.937 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.701, allocations: 8 kB / 0.937 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.7014, allocations: 195.8 kB / 0.9372 GB, free: 3.547 MB / 0.6856 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.001307/0.7027, allocations: 1.21 MB / 0.9384 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.7029, allocations: 130.5 kB / 0.9385 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.7031, allocations: 89.55 kB / 0.9386 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/0.7037, allocations: 307.2 kB / 0.9389 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.7037, allocations: 42.5 kB / 0.939 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.7037, allocations: 0 / 0.939 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.000737/0.7045, allocations: 278.7 kB / 0.9392 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.7045, allocations: 63.41 kB / 0.9393 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.7048, allocations: 312.5 kB / 0.9396 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.7048, allocations: 25.7 kB / 0.9396 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7049, allocations: 180.1 kB / 0.9398 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.705, allocations: 59.19 kB / 0.9398 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.7051, allocations: 45.64 kB / 0.9399 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7052, allocations: 342.8 kB / 0.9402 GB, free: 276 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7053, allocations: 67.95 kB / 0.9403 GB, free: 208 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.7055, allocations: 124.9 kB / 0.9404 GB, free: 68 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.7059, allocations: 193 kB / 0.9406 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7059, allocations: 4 kB / 0.9406 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004106/0.7063, allocations: 237.1 kB / 0.9408 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7063, allocations: 4 kB / 0.9408 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7063, allocations: 4 kB / 0.9408 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7063, allocations: 4.094 kB / 0.9408 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.7065, allocations: 39.98 kB / 0.9409 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7066, allocations: 7.938 kB / 0.9409 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.7067, allocations: 27.7 kB / 0.9409 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.7068, allocations: 12 kB / 0.9409 GB, free: 15.52 MB / 0.7012 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.0001387/0.7069, allocations: 154.4 kB / 0.941 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.707, allocations: 27.62 kB / 0.9411 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.7074, allocations: 222.6 kB / 0.9413 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7074, allocations: 7.984 kB / 0.9413 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7074, allocations: 0 / 0.9413 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.7074, allocations: 0 / 0.9413 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009281/0.7084, allocations: 0.6824 MB / 0.942 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7084, allocations: 4 kB / 0.942 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.7085, allocations: 35.91 kB / 0.942 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.7086, allocations: 7.938 kB / 0.942 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.7086, allocations: 8 kB / 0.942 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7086, allocations: 4.219 kB / 0.942 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7086, allocations: 4 kB / 0.942 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.7092, allocations: 434.6 kB / 0.9424 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.7093, allocations: 116.8 kB / 0.9425 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.7093, allocations: 7.938 kB / 0.9426 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.7095, allocations: 11.98 kB / 0.9426 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.7095, allocations: 16.05 kB / 0.9426 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7096, allocations: 11.94 kB / 0.9426 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001907/0.7098, allocations: 227 kB / 0.9428 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7098, allocations: 3.938 kB / 0.9428 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003594/0.7101, allocations: 79.91 kB / 0.9429 GB, free: 13.34 MB / 0.7012 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.001059/0.7112, allocations: 1.019 MB / 0.9439 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.7116, allocations: 179.7 kB / 0.9441 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7116, allocations: 192 / 0.9441 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.7118, allocations: 87.83 kB / 0.9441 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.7126, allocations: 172.8 kB / 0.9443 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.7157, allocations: 2.904 MB / 0.9471 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.716, allocations: 0.7756 MB / 0.9479 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000188/0.7162, allocations: 62.94 kB / 0.948 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7164, allocations: 87.41 kB / 0.948 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/0.7164, allocations: 7.938 kB / 0.948 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.7449, allocations: 8.981 MB / 0.9568 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/8.155, allocations: 4.656 kB / 0.9568 GB, free: 15.09 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)