Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 218.4 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8553/0.8553, allocations: 134 MB / 446.4 MB, free: 10.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 72.17 kB / 0.6186 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1705, allocations: 85.91 MB / 0.7025 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5635/0.734, allocations: 171 MB / 0.8694 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.7368, allocations: 1.564 MB / 0.8709 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.737, allocations: 19.81 kB / 0.871 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.7375, allocations: 154.8 kB / 0.8711 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.7392, allocations: 0.739 MB / 0.8718 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.7407, allocations: 0.627 MB / 0.8724 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.7416, allocations: 0.7207 MB / 0.8732 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.742, allocations: 181.3 kB / 0.8733 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.7426, allocations: 354.7 kB / 0.8737 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.7429, allocations: 235 kB / 0.8739 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.7429, allocations: 24 kB / 0.8739 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.7444, allocations: 0.9468 MB / 0.8748 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.7445, allocations: 111.6 kB / 0.8749 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.7447, allocations: 167.2 kB / 0.8751 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.7457, allocations: 0.7263 MB / 0.8758 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7457, allocations: 0 / 0.8758 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7457, allocations: 0 / 0.8758 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.7457, allocations: 4 kB / 0.8758 GB, free: 5.047 MB / 0.6387 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.0009306/0.7466, allocations: 0.59 MB / 0.8764 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7467, allocations: 8.031 kB / 0.8764 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.7468, allocations: 62.53 kB / 0.8765 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.7478, allocations: 151.6 kB / 0.8766 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.7484, allocations: 264.1 kB / 0.8769 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.7484, allocations: 20.44 kB / 0.8769 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.7485, allocations: 31.84 kB / 0.8769 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.749, allocations: 275.5 kB / 0.8772 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.749, allocations: 0 / 0.8772 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.749, allocations: 12 kB / 0.8772 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.749, allocations: 4 kB / 0.8772 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.7494, allocations: 195.8 kB / 0.8774 GB, free: 3.363 MB / 0.6387 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.001462/0.7509, allocations: 1.184 MB / 0.8785 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.7512, allocations: 130.4 kB / 0.8786 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.7513, allocations: 88.8 kB / 0.8787 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.7518, allocations: 71.92 kB / 0.8788 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.7518, allocations: 35.38 kB / 0.8788 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.7518, allocations: 0 / 0.8788 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0007559/0.7526, allocations: 278.3 kB / 0.8791 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7526, allocations: 59.41 kB / 0.8792 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.753, allocations: 312.5 kB / 0.8795 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.753, allocations: 29.7 kB / 0.8795 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.7531, allocations: 184.2 kB / 0.8797 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.7532, allocations: 55.48 kB / 0.8797 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.7532, allocations: 45.7 kB / 0.8798 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7534, allocations: 338.8 kB / 0.8801 GB, free: 432 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.7536, allocations: 71.88 kB / 0.8801 GB, free: 360 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.7538, allocations: 121 kB / 0.8803 GB, free: 220 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.7541, allocations: 191.2 kB / 0.8804 GB, free: 12 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7541, allocations: 0 / 0.8804 GB, free: 12 kB / 0.6387 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004701/0.7546, allocations: 241.3 kB / 0.8807 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7546, allocations: 4 kB / 0.8807 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7546, allocations: 3.938 kB / 0.8807 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7546, allocations: 12.02 kB / 0.8807 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7548, allocations: 43.92 kB / 0.8807 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.7548, allocations: 6.5 kB / 0.8807 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.755, allocations: 27.83 kB / 0.8808 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.7551, allocations: 15.94 kB / 0.8808 GB, free: 15.66 MB / 0.6544 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.0001503/0.7552, allocations: 153.7 kB / 0.8809 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.7553, allocations: 31.8 kB / 0.881 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.7557, allocations: 210.9 kB / 0.8812 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7557, allocations: 7.984 kB / 0.8812 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7557, allocations: 0 / 0.8812 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.7557, allocations: 0 / 0.8812 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7568, allocations: 0.663 MB / 0.8818 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7568, allocations: 7.938 kB / 0.8818 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.7569, allocations: 27.98 kB / 0.8818 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.7569, allocations: 4 kB / 0.8819 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.757, allocations: 8 kB / 0.8819 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.757, allocations: 4.156 kB / 0.8819 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.757, allocations: 11.94 kB / 0.8819 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.7576, allocations: 429.2 kB / 0.8823 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.7577, allocations: 43.73 kB / 0.8823 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.7577, allocations: 11.92 kB / 0.8823 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.7579, allocations: 8 kB / 0.8823 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.758, allocations: 20.03 kB / 0.8824 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.758, allocations: 4.625 kB / 0.8824 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002283/0.7582, allocations: 227 kB / 0.8826 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7582, allocations: 0 / 0.8826 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003811/0.7586, allocations: 83.88 kB / 0.8827 GB, free: 13.61 MB / 0.6544 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.001097/0.7597, allocations: 1.013 MB / 0.8837 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.7601, allocations: 173.5 kB / 0.8838 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7601, allocations: 0 / 0.8838 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.7603, allocations: 76.45 kB / 0.8839 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.7611, allocations: 183.7 kB / 0.8841 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.7649, allocations: 2.901 MB / 0.8869 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.7653, allocations: 0.7795 MB / 0.8877 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.7656, allocations: 62.94 kB / 0.8877 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.7657, allocations: 87.41 kB / 0.8878 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7657, allocations: 4 kB / 0.8878 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.8035, allocations: 9.049 MB / 0.8966 GB, free: 15.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.86, allocations: 4.062 kB / 0.8967 GB, free: 15.31 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.49998552499892] Failed to read output from testmodel.py, exit status != 0: 11.963408616000379 11.989316365 11.238973653 Calling exit ...