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.001304/0.001304, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001514/0.001514, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.773 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.8877/0.8877, allocations: 134 MB / 446.4 MB, free: 9.945 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.002404/0.002404, allocations: 60.31 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1854, allocations: 85.92 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003053/0.1884, allocations: 1.285 MB / 0.7036 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1896, allocations: 0.5293 MB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.1896, allocations: 4 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.1896, allocations: 3.938 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.1897, allocations: 3.984 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.1905, allocations: 154.7 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.1905, allocations: 23.88 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.1906, allocations: 0 / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.1906, allocations: 11.92 kB / 0.7043 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.1907, allocations: 7.984 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1907, allocations: 0 / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.1912, allocations: 271.5 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.1912, allocations: 3.984 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.1913, allocations: 11.94 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1916, allocations: 143.8 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1916, allocations: 3.984 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1916, allocations: 0 / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1916, allocations: 0 / 0.7048 GB, free: 14.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004856/0.1921, allocations: 289.9 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1921, allocations: 8.031 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1922, allocations: 38.75 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1922, allocations: 0.9375 kB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1923, allocations: 106.5 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1923, allocations: 8.375 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1924, allocations: 4.125 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1925, allocations: 41.69 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1925, allocations: 3.938 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1925, allocations: 0 / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1925, allocations: 0 / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.1926, allocations: 16 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1929, allocations: 228 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1931, allocations: 38.62 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.1932, allocations: 20.8 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1932, allocations: 4 kB / 0.7055 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1932, allocations: 42.48 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1932, allocations: 0 / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.1934, allocations: 53.69 kB / 0.7056 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1935, allocations: 55.41 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.1936, allocations: 97.86 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1936, allocations: 25.7 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.1937, allocations: 84.09 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1937, allocations: 15.86 kB / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1937, allocations: 21.67 kB / 0.7059 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1939, allocations: 326.8 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.1939, allocations: 7.984 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.1939, allocations: 25.66 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.194, allocations: 22.09 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.194, allocations: 0 / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.93e-05/0.1941, allocations: 61.67 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1941, allocations: 4 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1941, allocations: 7.984 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1941, allocations: 0 / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.1942, allocations: 11.98 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1942, allocations: 4.031 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1942, allocations: 0 / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1942, allocations: 11.92 kB / 0.7064 GB, free: 12.72 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 9.11e-05/0.1943, allocations: 113.8 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1943, allocations: 0 / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1945, allocations: 65.3 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1945, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1945, allocations: 4.125 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1945, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1947, allocations: 136.7 kB / 0.7067 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1947, allocations: 3.984 kB / 0.7067 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.1947, allocations: 8 kB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1947, allocations: 0 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1947, allocations: 0 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1947, allocations: 0 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1947, allocations: 3.938 kB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.1949, allocations: 151.4 kB / 0.7068 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.1949, allocations: 4 kB / 0.7068 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1949, allocations: 4 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.1949, allocations: 0 / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.1949, allocations: 7.984 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1949, allocations: 4 kB / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.195, allocations: 75.28 kB / 0.7069 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.195, allocations: 4 kB / 0.7069 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002536/0.1953, allocations: 19.88 kB / 0.707 GB, free: 12.05 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.0005825/0.1958, allocations: 0.7006 MB / 0.7076 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.196, allocations: 23.94 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.196, allocations: 0 / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.196, allocations: 11.98 kB / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1962, allocations: 8.062 kB / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.1967, allocations: 164.4 kB / 0.7078 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.1968, allocations: 59.22 kB / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.1968, allocations: 4 kB / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.1968, allocations: 15.89 kB / 0.7079 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.1968, allocations: 4 kB / 0.7079 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2249, allocations: 1.884 MB / 0.7098 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.43, allocations: 0 / 0.7098 GB, free: 9.23 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.149710638914257] Failed to read output from testmodel.py, exit status != 0: 11.53831754019484 11.554763815 11.359999476 Calling exit ...