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.001257/0.001257, allocations: 108 kB / 15.61 MB, free: 128 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.001319/0.001319, allocations: 198.2 kB / 16.53 MB, free: 6.668 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 278.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 103.1 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1479, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4489/0.5969, allocations: 167.4 MB / 0.857 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.5995, allocations: 1.549 MB / 0.8585 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.5997, allocations: 15.5 kB / 0.8586 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.6001, allocations: 147.3 kB / 0.8587 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.6016, allocations: 0.7012 MB / 0.8594 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.6029, allocations: 0.604 MB / 0.86 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.6036, allocations: 0.7066 MB / 0.8607 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.6039, allocations: 229.8 kB / 0.8609 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.6044, allocations: 330.3 kB / 0.8612 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.6047, allocations: 215.5 kB / 0.8614 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.6047, allocations: 22.75 kB / 0.8614 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.606, allocations: 0.8722 MB / 0.8623 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.6062, allocations: 104.2 kB / 0.8624 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.6063, allocations: 170.3 kB / 0.8625 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.6073, allocations: 0.7097 MB / 0.8632 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6073, allocations: 4 kB / 0.8632 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6073, allocations: 0 / 0.8632 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.6073, allocations: 0 / 0.8632 GB, free: 9.469 MB / 0.5919 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.0009501/0.6082, allocations: 0.6505 MB / 0.8639 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6083, allocations: 7.469 kB / 0.8639 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.6084, allocations: 57.91 kB / 0.8639 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6095, allocations: 158.4 kB / 0.8641 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.6099, allocations: 301.7 kB / 0.8644 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.6099, allocations: 18.56 kB / 0.8644 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.6099, allocations: 23.03 kB / 0.8644 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.6104, allocations: 282 kB / 0.8647 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6104, allocations: 0 / 0.8647 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.6105, allocations: 7 kB / 0.8647 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6105, allocations: 4.812 kB / 0.8647 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.6109, allocations: 201.2 kB / 0.8649 GB, free: 8.164 MB / 0.5919 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.001461/0.6123, allocations: 1.214 MB / 0.8661 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6126, allocations: 131.7 kB / 0.8662 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.6128, allocations: 93.31 kB / 0.8663 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.6135, allocations: 302.2 kB / 0.8666 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6135, allocations: 38.48 kB / 0.8666 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.6135, allocations: 2.938 kB / 0.8666 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007392/0.6143, allocations: 284.1 kB / 0.8669 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6143, allocations: 55.39 kB / 0.8669 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.6146, allocations: 312.4 kB / 0.8672 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6147, allocations: 31.86 kB / 0.8673 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6148, allocations: 177.4 kB / 0.8674 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.6148, allocations: 56.56 kB / 0.8675 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.6149, allocations: 51.39 kB / 0.8675 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6151, allocations: 342.3 kB / 0.8679 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.6152, allocations: 67.2 kB / 0.8679 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.6155, allocations: 126.2 kB / 0.868 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.6158, allocations: 196.8 kB / 0.8682 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6158, allocations: 0 / 0.8682 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004399/0.6163, allocations: 246.7 kB / 0.8685 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6163, allocations: 4.875 kB / 0.8685 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6163, allocations: 0 / 0.8685 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6163, allocations: 4.844 kB / 0.8685 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6165, allocations: 44.89 kB / 0.8685 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6165, allocations: 2.25 kB / 0.8685 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.6167, allocations: 26.42 kB / 0.8685 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.6167, allocations: 11.41 kB / 0.8686 GB, free: 5.105 MB / 0.5919 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.0001429/0.6169, allocations: 163.4 kB / 0.8687 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.617, allocations: 30.88 kB / 0.8687 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.6174, allocations: 214.8 kB / 0.8689 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6174, allocations: 1.812 kB / 0.8689 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6174, allocations: 0 / 0.8689 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6174, allocations: 0 / 0.8689 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.6184, allocations: 0.6816 MB / 0.8696 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6184, allocations: 3.031 kB / 0.8696 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.6186, allocations: 39.97 kB / 0.8697 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6186, allocations: 6.844 kB / 0.8697 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.6186, allocations: 8.875 kB / 0.8697 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6186, allocations: 2.25 kB / 0.8697 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6186, allocations: 4.562 kB / 0.8697 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.6193, allocations: 422.6 kB / 0.8701 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6194, allocations: 128.2 kB / 0.8702 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.6195, allocations: 10.78 kB / 0.8702 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6197, allocations: 12.61 kB / 0.8702 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.6197, allocations: 15.73 kB / 0.8702 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.6198, allocations: 8.5 kB / 0.8702 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002234/0.62, allocations: 227.1 kB / 0.8705 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.62, allocations: 0 / 0.8705 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003807/0.6204, allocations: 75.44 kB / 0.8705 GB, free: 3.582 MB / 0.5919 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.001293/0.6217, allocations: 1.031 MB / 0.8715 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.6221, allocations: 186.1 kB / 0.8717 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6221, allocations: 0 / 0.8717 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.6223, allocations: 83.36 kB / 0.8718 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.6232, allocations: 166.9 kB / 0.872 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.6269, allocations: 2.931 MB / 0.8748 GB, free: 260 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.6273, allocations: 0.7765 MB / 0.8756 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.6275, allocations: 66.05 kB / 0.8756 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6277, allocations: 87.06 kB / 0.8757 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6277, allocations: 0 / 0.8757 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.6624, allocations: 8.771 MB / 0.8843 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.286, allocations: 12.05 kB / 0.8843 GB, free: 7.734 MB / 0.6075 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)