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.001369/0.001369, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001555/0.001555, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.805 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.8674/0.8674, allocations: 134 MB / 446.4 MB, free: 9.934 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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [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.002086/0.002086, allocations: 67.56 kB / 0.619 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 85.9 MB / 0.7029 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00246/0.1915, allocations: 1.293 MB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1926, allocations: 0.537 MB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.1926, allocations: 0 / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.1926, allocations: 3.938 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.1927, allocations: 4 kB / 0.7047 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.1932, allocations: 154.7 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.1933, allocations: 15.88 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.1933, allocations: 12 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.1933, allocations: 7.984 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1934, allocations: 7.938 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1934, allocations: 0 / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.1938, allocations: 271.5 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1939, allocations: 4 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.1939, allocations: 7.938 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1941, allocations: 139.5 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1942, allocations: 3.984 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1942, allocations: 4 kB / 0.7053 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1942, allocations: 4 kB / 0.7053 GB, free: 14.1 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.000463/0.1946, allocations: 289.9 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1947, allocations: 8.031 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.1947, allocations: 0.9375 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1948, allocations: 106.5 kB / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1948, allocations: 384 / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1948, allocations: 4.375 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1949, allocations: 41.62 kB / 0.7057 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.195, allocations: 4 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.195, allocations: 11.98 kB / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.195, allocations: 4 kB / 0.7057 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.195, allocations: 15.92 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.1954, allocations: 208.5 kB / 0.7059 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1956, allocations: 42.62 kB / 0.706 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1956, allocations: 12.86 kB / 0.706 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1956, allocations: 4 kB / 0.706 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1957, allocations: 30.56 kB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1957, allocations: 0 / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001781/0.1958, allocations: 61.62 kB / 0.7061 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1959, allocations: 59.34 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.196, allocations: 101.8 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.196, allocations: 25.7 kB / 0.7062 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.196, allocations: 84.09 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1961, allocations: 11.89 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1961, allocations: 25.66 kB / 0.7064 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1963, allocations: 318.8 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.1963, allocations: 4 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.1963, allocations: 25.7 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.1964, allocations: 33.59 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1964, allocations: 4 kB / 0.7067 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.1965, allocations: 57.62 kB / 0.7068 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1965, allocations: 8 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1965, allocations: 0 / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1965, allocations: 0 / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.1966, allocations: 8 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1966, allocations: 3.984 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.1966, allocations: 0 / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1966, allocations: 4 kB / 0.7068 GB, free: 12.33 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.226e-05/0.1967, allocations: 113.8 kB / 0.7069 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1967, allocations: 8.031 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1968, allocations: 61.73 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1968, allocations: 0 / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1968, allocations: 0 / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1969, allocations: 3.984 kB / 0.707 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.197, allocations: 109.3 kB / 0.7071 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.197, allocations: 3.984 kB / 0.7071 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.197, allocations: 8 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.197, allocations: 0 / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.197, allocations: 0 / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1971, allocations: 4 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1971, allocations: 0 / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1972, allocations: 155.6 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-06/0.1972, allocations: 0 / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1972, allocations: 4 kB / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.1973, allocations: 4 kB / 0.7073 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.1973, allocations: 11.88 kB / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1973, allocations: 0 / 0.7073 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.1973, allocations: 83.27 kB / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002549/0.1976, allocations: 19.88 kB / 0.7074 GB, free: 11.69 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.0002089/0.1978, allocations: 123.2 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1979, allocations: 23.98 kB / 0.7075 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1979, allocations: 0 / 0.7075 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.1979, allocations: 11.94 kB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1981, allocations: 3.938 kB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.1985, allocations: 118.9 kB / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.1985, allocations: 71.14 kB / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.1986, allocations: 8.062 kB / 0.7077 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1986, allocations: 7.438 kB / 0.7077 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1986, allocations: 0 / 0.7077 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.002892/0.2015, allocations: 0.5032 MB / 0.7082 GB, free: 10.77 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.77241699770093] Failed to read output from testmodel.py, exit status != 0: 0.20897646248340607 0.22565657099999994 0.02811819 Calling exit ...