Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001269/0.001269, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001498/0.001498, allocations: 219 kB / 22.26 MB, free: 5.082 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.016 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.8407/0.8407, allocations: 134 MB / 446.4 MB, free: 10.22 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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001978/0.001978, allocations: 67.09 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1582, allocations: 85.9 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002279/0.1605, allocations: 1.267 MB / 0.7037 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1615, allocations: 0.6075 MB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.1615, allocations: 0 / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1615, allocations: 0 / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.1616, allocations: 0 / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1621, allocations: 142.9 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.1621, allocations: 11.92 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1622, allocations: 4 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1622, allocations: 4 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1622, allocations: 7.938 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1622, allocations: 0 / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.1628, allocations: 347.3 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1628, allocations: 0 / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1628, allocations: 4 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1631, allocations: 147.8 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1631, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1631, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1631, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003672/0.1634, allocations: 288.6 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1635, allocations: 12.03 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.1635, allocations: 30.75 kB / 0.7052 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.1635, allocations: 0.9375 kB / 0.7052 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1636, allocations: 106.5 kB / 0.7053 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1637, allocations: 8.359 kB / 0.7053 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1637, allocations: 8.125 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.1637, allocations: 33.64 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1638, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1638, allocations: 7.938 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1638, allocations: 0 / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.1638, allocations: 4 kB / 0.7054 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1639, allocations: 120.8 kB / 0.7055 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.164, allocations: 22.61 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.164, allocations: 12.8 kB / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.164, allocations: 0 / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1641, allocations: 46.55 kB / 0.7056 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.1641, allocations: 0 / 0.7056 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.1642, allocations: 37.7 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1642, allocations: 51.41 kB / 0.7057 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.1643, allocations: 93.86 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1643, allocations: 25.7 kB / 0.7058 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.1644, allocations: 80.39 kB / 0.7059 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1644, allocations: 15.88 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1644, allocations: 17.72 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1646, allocations: 310.8 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.1646, allocations: 4 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.1646, allocations: 0 / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.1646, allocations: 16.8 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1646, allocations: 4 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.71e-05/0.1647, allocations: 49.64 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1647, allocations: 4 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1647, allocations: 0 / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1647, allocations: 0 / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1648, allocations: 11.98 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004144/0.1653, allocations: 0.586 MB / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.1653, allocations: 0 / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1653, allocations: 8.094 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/0.1654, allocations: 113.8 kB / 0.707 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.1654, allocations: 0 / 0.707 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-05/0.1655, allocations: 45 kB / 0.707 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1655, allocations: 0 / 0.707 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1655, allocations: 4 kB / 0.707 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1655, allocations: 0 / 0.707 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1656, allocations: 132.7 kB / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1656, allocations: 7.969 kB / 0.7071 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.1656, allocations: 8 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1656, allocations: 3.938 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1657, allocations: 0 / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003528/0.166, allocations: 0.586 MB / 0.7077 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.166, allocations: 0 / 0.7077 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.421e-05/0.1661, allocations: 65.22 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1661, allocations: 7.984 kB / 0.7078 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1661, allocations: 3.938 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.1661, allocations: 3.938 kB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-06/0.1661, allocations: 0 / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1661, allocations: 0 / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.1662, allocations: 83.28 kB / 0.7079 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1662, allocations: 0 / 0.7079 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001876/0.1664, allocations: 12.12 kB / 0.7079 GB, free: 11.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.1668, allocations: 0.6046 MB / 0.7085 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.167, allocations: 27.92 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.167, allocations: 4.094 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.167, allocations: 15.92 kB / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1672, allocations: 0 / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1676, allocations: 131.8 kB / 0.7086 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1679, allocations: 0.6767 MB / 0.7093 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.34e-05/0.1679, allocations: 0 / 0.7093 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1679, allocations: 11.5 kB / 0.7093 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1679, allocations: 0 / 0.7093 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1948, allocations: 1.408 MB / 0.7107 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.63, allocations: 10.94 kB / 0.7107 GB, free: 8.684 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.295529344002716] Failed to read output from testmodel.py, exit status != 0: 12.738417169995955 12.755330134 12.589154776 Calling exit ...