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.001572/0.001572, allocations: 106.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.001963/0.001963, allocations: 213.7 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.957 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.8942/0.8942, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.001958/0.001958, allocations: 63.81 kB / 0.6134 GB, free: 8.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1899, allocations: 85.85 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002848/0.1927, allocations: 1.271 MB / 0.6985 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1939, allocations: 0.5881 MB / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.1939, allocations: 0 / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.194, allocations: 0 / 0.6991 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.194, allocations: 7.938 kB / 0.6991 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1946, allocations: 143.4 kB / 0.6992 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.1947, allocations: 11.98 kB / 0.6992 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.1948, allocations: 0 / 0.6992 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.1948, allocations: 4 kB / 0.6992 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.1949, allocations: 7.938 kB / 0.6992 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1949, allocations: 0 / 0.6992 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.1955, allocations: 347.3 kB / 0.6996 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1955, allocations: 0 / 0.6996 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1955, allocations: 4 kB / 0.6996 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1958, allocations: 139.8 kB / 0.6997 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1958, allocations: 0 / 0.6997 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.915e-06/0.1958, allocations: 4 kB / 0.6997 GB, free: 456 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.1958, allocations: 0 / 0.6997 GB, free: 456 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005438/0.1964, allocations: 363.1 kB / 0.7001 GB, free: 44 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1964, allocations: 9.109 kB / 0.7001 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.1965, allocations: 30.75 kB / 0.7001 GB, free: 16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1965, allocations: 0.9375 kB / 0.7001 GB, free: 16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.1967, allocations: 168.3 kB / 0.7003 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1967, allocations: 384 / 0.7003 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1967, allocations: 4.125 kB / 0.7003 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1969, allocations: 37.69 kB / 0.7003 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1969, allocations: 3.938 kB / 0.7003 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1969, allocations: 8 kB / 0.7003 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1969, allocations: 0 / 0.7003 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.1969, allocations: 4 kB / 0.7003 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.1971, allocations: 149.7 kB / 0.7005 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.1972, allocations: 30.48 kB / 0.7005 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.1972, allocations: 8.797 kB / 0.7005 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.1973, allocations: 4.062 kB / 0.7005 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1973, allocations: 34.56 kB / 0.7005 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1973, allocations: 0 / 0.7005 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.1975, allocations: 37.7 kB / 0.7006 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1975, allocations: 55.39 kB / 0.7006 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1977, allocations: 97.86 kB / 0.7007 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1977, allocations: 33.58 kB / 0.7007 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.1977, allocations: 80.14 kB / 0.7008 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1978, allocations: 12.19 kB / 0.7008 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1978, allocations: 13.72 kB / 0.7008 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.198, allocations: 318.8 kB / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.198, allocations: 4 kB / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-06/0.198, allocations: 0 / 0.7011 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.1981, allocations: 12.86 kB / 0.7012 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1981, allocations: 0 / 0.7012 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.804e-05/0.1981, allocations: 45.59 kB / 0.7012 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1982, allocations: 8.094 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1982, allocations: 0 / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1982, allocations: 3.984 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1984, allocations: 11.94 kB / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005326/0.1989, allocations: 0.5782 MB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.1989, allocations: 4.031 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1989, allocations: 3.938 kB / 0.7018 GB, free: 14.05 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 9.756e-05/0.199, allocations: 117.9 kB / 0.7019 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.199, allocations: 0 / 0.7019 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1992, allocations: 52.69 kB / 0.702 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1992, allocations: 4 kB / 0.702 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.1992, allocations: 3.984 kB / 0.702 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1992, allocations: 0 / 0.702 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1993, allocations: 153.6 kB / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1993, allocations: 0 / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.1994, allocations: 16.02 kB / 0.7021 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1994, allocations: 0 / 0.7021 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1994, allocations: 0 / 0.7021 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004389/0.1999, allocations: 0.5898 MB / 0.7027 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1999, allocations: 0 / 0.7027 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.103e-05/0.2, allocations: 69.19 kB / 0.7028 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.2, allocations: 81.11 kB / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2, allocations: 3.938 kB / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.2, allocations: 4 kB / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.2001, allocations: 0 / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2001, allocations: 0 / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.2001, allocations: 83.27 kB / 0.7029 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2001, allocations: 0 / 0.7029 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002086/0.2003, allocations: 8.125 kB / 0.7029 GB, free: 12.75 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.0005165/0.2008, allocations: 0.6201 MB / 0.7036 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.201, allocations: 19.92 kB / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.201, allocations: 0 / 0.7036 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.2011, allocations: 20.08 kB / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.2013, allocations: 4.281 kB / 0.7036 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.2018, allocations: 131.6 kB / 0.7037 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2022, allocations: 0.6806 MB / 0.7044 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.787e-05/0.2022, allocations: 0 / 0.7044 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.2022, allocations: 11.5 kB / 0.7044 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.2022, allocations: 4 kB / 0.7044 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2299, allocations: 1.392 MB / 0.7058 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.96, allocations: 4.062 kB / 0.7058 GB, free: 9.984 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.593185966004967] Failed to read output from testmodel.py, exit status != 0: 12.051064943996607 12.06522223 11.866469512 Calling exit ...