Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001382/0.001382, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001428/0.001428, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8754/0.8754, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.002037/0.002037, allocations: 65.48 kB / 0.6134 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1633, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002505/0.1658, allocations: 1.301 MB / 0.6985 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1669, allocations: 0.5959 MB / 0.6991 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.1669, allocations: 0 / 0.6991 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1669, allocations: 0 / 0.6991 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.167, allocations: 11.92 kB / 0.6991 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.1675, allocations: 139.4 kB / 0.6993 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.1676, allocations: 23.88 kB / 0.6993 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.1677, allocations: 7.969 kB / 0.6993 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.1677, allocations: 7.938 kB / 0.6993 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.1677, allocations: 11.94 kB / 0.6993 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1678, allocations: 0 / 0.6993 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.1683, allocations: 347.3 kB / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1683, allocations: 7.984 kB / 0.6997 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.1683, allocations: 11.94 kB / 0.6997 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1686, allocations: 136.7 kB / 0.6998 GB, free: 372 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1686, allocations: 0 / 0.6998 GB, free: 372 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1686, allocations: 4 kB / 0.6998 GB, free: 368 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1686, allocations: 0 / 0.6998 GB, free: 368 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000542/0.1692, allocations: 375 kB / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1692, allocations: 9.109 kB / 0.7002 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1692, allocations: 30.75 kB / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1693, allocations: 4.938 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1694, allocations: 164.4 kB / 0.7004 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1694, allocations: 4.359 kB / 0.7004 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1694, allocations: 8.125 kB / 0.7004 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1696, allocations: 41.64 kB / 0.7004 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1696, allocations: 0 / 0.7004 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1696, allocations: 4 kB / 0.7004 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1696, allocations: 4 kB / 0.7004 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.1696, allocations: 11.98 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.17, allocations: 264.9 kB / 0.7007 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1702, allocations: 38.56 kB / 0.7007 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.1702, allocations: 20.91 kB / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1702, allocations: 3.938 kB / 0.7007 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1703, allocations: 34.56 kB / 0.7008 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1703, allocations: 4 kB / 0.7008 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.1704, allocations: 53.69 kB / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1705, allocations: 51.41 kB / 0.7009 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.1706, allocations: 106 kB / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1706, allocations: 25.7 kB / 0.701 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1706, allocations: 88.09 kB / 0.7011 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1707, allocations: 11.89 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1707, allocations: 13.72 kB / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1708, allocations: 326.8 kB / 0.7014 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.1709, allocations: 7.938 kB / 0.7014 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.1709, allocations: 21.72 kB / 0.7014 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.171, allocations: 33.7 kB / 0.7015 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.171, allocations: 3.938 kB / 0.7015 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.653e-05/0.1711, allocations: 57.58 kB / 0.7015 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1711, allocations: 11.94 kB / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1711, allocations: 4.031 kB / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1711, allocations: 0 / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.1711, allocations: 8 kB / 0.7016 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1711, allocations: 0 / 0.7016 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.1712, allocations: 0 / 0.7016 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1712, allocations: 4 kB / 0.7016 GB, free: 14.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.69e-05/0.1713, allocations: 113.8 kB / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1713, allocations: 4 kB / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1714, allocations: 69.11 kB / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1714, allocations: 0 / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1714, allocations: 0 / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1714, allocations: 0 / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1716, allocations: 161.6 kB / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1716, allocations: 0 / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.1717, allocations: 8 kB / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1717, allocations: 0 / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1717, allocations: 3.984 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1717, allocations: 0 / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1717, allocations: 128 / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1718, allocations: 159.4 kB / 0.7021 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.1719, allocations: 81.11 kB / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1719, allocations: 4 kB / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.1719, allocations: 0 / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.172, allocations: 0 / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.172, allocations: 4 kB / 0.7021 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.172, allocations: 79.27 kB / 0.7022 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.172, allocations: 4 kB / 0.7022 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002509/0.1723, allocations: 23.88 kB / 0.7023 GB, free: 13.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0005757/0.1728, allocations: 0.7049 MB / 0.7029 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.173, allocations: 24.03 kB / 0.703 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.173, allocations: 0 / 0.703 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.173, allocations: 16.14 kB / 0.703 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1732, allocations: 4 kB / 0.703 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.1737, allocations: 168.1 kB / 0.7031 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.174, allocations: 0.6805 MB / 0.7038 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.174, allocations: 0 / 0.7038 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1741, allocations: 23.38 kB / 0.7038 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1741, allocations: 0 / 0.7038 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1982, allocations: 1.396 MB / 0.7052 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.179, allocations: 8.047 kB / 0.7052 GB, free: 10.53 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.874630209000316] Failed to read output from testmodel.py, exit status != 0: 8.245596563996514 8.261320654 8.089736437000001 Calling exit ...