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.005418/0.005419, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001228/0.001229, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 279.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9658/0.9658, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 91.86 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.172, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.487/0.6591, allocations: 167.4 MB / 0.9293 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.6623, allocations: 1.562 MB / 0.9309 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.6628, allocations: 15.88 kB / 0.9309 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.6633, allocations: 146.9 kB / 0.931 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.6654, allocations: 0.7 MB / 0.9317 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.667, allocations: 0.6012 MB / 0.9323 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009704/0.668, allocations: 0.7012 MB / 0.933 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.6685, allocations: 229.1 kB / 0.9332 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.6692, allocations: 326.8 kB / 0.9335 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.6696, allocations: 227 kB / 0.9337 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.6696, allocations: 20 kB / 0.9337 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.6712, allocations: 0.8729 MB / 0.9346 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.6714, allocations: 107.6 kB / 0.9347 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.6716, allocations: 171.2 kB / 0.9349 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.6729, allocations: 0.7219 MB / 0.9356 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6729, allocations: 0 / 0.9356 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.673, allocations: 0 / 0.9356 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.673, allocations: 0 / 0.9356 GB, free: 5.336 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.001068/0.674, allocations: 0.6653 MB / 0.9362 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6741, allocations: 8.031 kB / 0.9362 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.6742, allocations: 58.55 kB / 0.9363 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.6753, allocations: 163.6 kB / 0.9364 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.6758, allocations: 317.9 kB / 0.9367 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.6759, allocations: 16.44 kB / 0.9368 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.6759, allocations: 27.95 kB / 0.9368 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.6765, allocations: 279.4 kB / 0.937 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6765, allocations: 0 / 0.937 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.6765, allocations: 12 kB / 0.9371 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.6765, allocations: 4 kB / 0.9371 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.677, allocations: 203.7 kB / 0.9373 GB, free: 3.48 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.001448/0.6784, allocations: 1.206 MB / 0.9384 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.6787, allocations: 130.5 kB / 0.9386 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.6789, allocations: 96.73 kB / 0.9387 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.6795, allocations: 299.2 kB / 0.9389 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.6796, allocations: 46.48 kB / 0.939 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.6796, allocations: 0 / 0.939 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0007531/0.6803, allocations: 274.9 kB / 0.9392 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6804, allocations: 55.34 kB / 0.9393 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.6807, allocations: 312.5 kB / 0.9396 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.6808, allocations: 33.7 kB / 0.9396 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.6809, allocations: 184.3 kB / 0.9398 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.681, allocations: 51.58 kB / 0.9399 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.6811, allocations: 57.59 kB / 0.9399 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6812, allocations: 338.8 kB / 0.9402 GB, free: 208 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6814, allocations: 67.89 kB / 0.9403 GB, free: 140 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.6816, allocations: 123.8 kB / 0.9404 GB, free: 0 / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.682, allocations: 190.4 kB / 0.9406 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.682, allocations: 3.938 kB / 0.9406 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005375/0.6826, allocations: 248.5 kB / 0.9408 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6826, allocations: 8 kB / 0.9408 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6826, allocations: 0.5625 kB / 0.9408 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6826, allocations: 4.141 kB / 0.9408 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6828, allocations: 39.92 kB / 0.9409 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6829, allocations: 4 kB / 0.9409 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.683, allocations: 37.06 kB / 0.9409 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6831, allocations: 8 kB / 0.9409 GB, free: 15.45 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.0001965/0.6833, allocations: 162.4 kB / 0.9411 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.6833, allocations: 31.81 kB / 0.9411 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.6838, allocations: 213 kB / 0.9413 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6838, allocations: 5.875 kB / 0.9413 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6838, allocations: 0 / 0.9413 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6838, allocations: 0 / 0.9413 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.6849, allocations: 0.6873 MB / 0.942 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6849, allocations: 4 kB / 0.942 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.6851, allocations: 36.19 kB / 0.942 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6851, allocations: 3.938 kB / 0.942 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.6851, allocations: 4 kB / 0.942 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6851, allocations: 7.938 kB / 0.9421 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6851, allocations: 0 / 0.9421 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.6858, allocations: 431.6 kB / 0.9425 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.686, allocations: 124.9 kB / 0.9426 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.686, allocations: 11.94 kB / 0.9426 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6862, allocations: 12.92 kB / 0.9426 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6862, allocations: 15.98 kB / 0.9426 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6863, allocations: 4 kB / 0.9426 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002268/0.6865, allocations: 227 kB / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6865, allocations: 3.938 kB / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003559/0.6869, allocations: 79.94 kB / 0.9429 GB, free: 13.27 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.001244/0.6881, allocations: 1.032 MB / 0.9439 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.6885, allocations: 177.9 kB / 0.9441 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.6886, allocations: 0 / 0.9441 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.6887, allocations: 83.89 kB / 0.9442 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.6896, allocations: 165.2 kB / 0.9443 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.6932, allocations: 2.928 MB / 0.9472 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.6937, allocations: 0.7717 MB / 0.9479 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.6938, allocations: 66.92 kB / 0.948 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.694, allocations: 87.41 kB / 0.9481 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.694, allocations: 4 kB / 0.9481 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.7275, allocations: 8.842 MB / 0.9567 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.423, allocations: 10.61 kB / 0.9567 GB, free: 15.14 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)