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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 186.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 251 MB, free: 13.03 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.8452/0.8452, allocations: 134 MB / 440.3 MB, free: 196 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.83 kB / 0.6107 GB, free: 13.65 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1849, allocations: 84.72 MB / 0.6935 GB, free: 8.996 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002697/0.1876, allocations: 1.301 MB / 0.6947 GB, free: 7.691 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001215/0.1889, allocations: 0.5994 MB / 0.6953 GB, free: 7.09 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.1889, allocations: 0 / 0.6953 GB, free: 7.09 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.1889, allocations: 3.938 kB / 0.6953 GB, free: 7.086 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.189, allocations: 7.969 kB / 0.6953 GB, free: 7.078 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.1897, allocations: 147.4 kB / 0.6955 GB, free: 6.934 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.1898, allocations: 15.94 kB / 0.6955 GB, free: 6.918 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1898, allocations: 7.922 kB / 0.6955 GB, free: 6.91 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.1898, allocations: 11.94 kB / 0.6955 GB, free: 6.898 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.1899, allocations: 11.97 kB / 0.6955 GB, free: 6.887 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1899, allocations: 0 / 0.6955 GB, free: 6.887 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006484/0.1906, allocations: 339.4 kB / 0.6958 GB, free: 6.555 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1906, allocations: 3.938 kB / 0.6958 GB, free: 6.551 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.1906, allocations: 11.97 kB / 0.6959 GB, free: 6.539 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.191, allocations: 143.5 kB / 0.696 GB, free: 6.398 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.191, allocations: 8 kB / 0.696 GB, free: 6.391 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.733e-06/0.191, allocations: 0 / 0.696 GB, free: 6.391 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 7.063e-06/0.191, allocations: 0 / 0.696 GB, free: 6.391 MB / 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.0005408/0.1915, allocations: 293.9 kB / 0.6963 GB, free: 6.074 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1916, allocations: 8.031 kB / 0.6963 GB, free: 6.066 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1916, allocations: 4.922 kB / 0.6963 GB, free: 6.062 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1918, allocations: 114.5 kB / 0.6964 GB, free: 5.926 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1918, allocations: 384 / 0.6964 GB, free: 5.926 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1918, allocations: 4.375 kB / 0.6964 GB, free: 5.922 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1919, allocations: 45.62 kB / 0.6964 GB, free: 5.871 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1919, allocations: 3.938 kB / 0.6965 GB, free: 5.867 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.192, allocations: 4 kB / 0.6965 GB, free: 5.863 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.192, allocations: 0 / 0.6965 GB, free: 5.863 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.192, allocations: 12 kB / 0.6965 GB, free: 5.852 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1925, allocations: 220 kB / 0.6967 GB, free: 5.594 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1928, allocations: 54.62 kB / 0.6967 GB, free: 5.531 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.1928, allocations: 16.84 kB / 0.6967 GB, free: 5.512 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1928, allocations: 4 kB / 0.6967 GB, free: 5.508 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1929, allocations: 30.56 kB / 0.6968 GB, free: 5.469 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=4): time 3.287e-06/0.1929, allocations: 3.984 kB / 0.6968 GB, free: 5.465 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=4): time 0.0002179/0.1931, allocations: 61.58 kB / 0.6968 GB, free: 5.398 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1931, allocations: 55.41 kB / 0.6969 GB, free: 5.332 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.1932, allocations: 101.8 kB / 0.697 GB, free: 5.223 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1932, allocations: 29.7 kB / 0.697 GB, free: 5.188 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.1933, allocations: 80.14 kB / 0.6971 GB, free: 5.105 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1933, allocations: 15.83 kB / 0.6971 GB, free: 5.09 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1934, allocations: 21.7 kB / 0.6971 GB, free: 5.062 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001458/0.1935, allocations: 318.8 kB / 0.6974 GB, free: 4.742 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.1935, allocations: 8 kB / 0.6974 GB, free: 4.734 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.1936, allocations: 17.72 kB / 0.6975 GB, free: 4.711 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.1936, allocations: 37.64 kB / 0.6975 GB, free: 4.668 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1936, allocations: 0 / 0.6975 GB, free: 4.668 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.1937, allocations: 57.69 kB / 0.6976 GB, free: 4.605 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1938, allocations: 4 kB / 0.6976 GB, free: 4.602 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1938, allocations: 0 / 0.6976 GB, free: 4.602 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1938, allocations: 0 / 0.6976 GB, free: 4.602 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.1938, allocations: 8.125 kB / 0.6976 GB, free: 4.594 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1939, allocations: 7.938 kB / 0.6976 GB, free: 4.586 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.1939, allocations: 11.98 kB / 0.6976 GB, free: 4.574 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1939, allocations: 3.938 kB / 0.6976 GB, free: 4.57 MB / 0.5137 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 0.0001042/0.194, allocations: 121.8 kB / 0.6977 GB, free: 4.441 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.194, allocations: 0 / 0.6977 GB, free: 4.441 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.1942, allocations: 57.38 kB / 0.6978 GB, free: 4.379 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1942, allocations: 0 / 0.6978 GB, free: 4.379 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1942, allocations: 0 / 0.6978 GB, free: 4.379 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1942, allocations: 0 / 0.6978 GB, free: 4.379 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1944, allocations: 132.7 kB / 0.6979 GB, free: 4.207 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1944, allocations: 4 kB / 0.6979 GB, free: 4.203 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.1944, allocations: 11.92 kB / 0.6979 GB, free: 4.191 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1944, allocations: 0 / 0.6979 GB, free: 4.191 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1944, allocations: 0 / 0.6979 GB, free: 4.191 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1944, allocations: 4 kB / 0.6979 GB, free: 4.188 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1944, allocations: 3.938 kB / 0.6979 GB, free: 4.184 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1946, allocations: 151.4 kB / 0.6981 GB, free: 4.02 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.1946, allocations: 0.5156 kB / 0.6981 GB, free: 4.02 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1946, allocations: 4 kB / 0.6981 GB, free: 4.016 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.1947, allocations: 0 / 0.6981 GB, free: 4.016 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1947, allocations: 11.98 kB / 0.6981 GB, free: 4.004 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1947, allocations: 0 / 0.6981 GB, free: 4.004 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 5.41e-05/0.1947, allocations: 83.27 kB / 0.6981 GB, free: 3.922 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 7e-08/0.1947, allocations: 0 / 0.6981 GB, free: 3.922 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002545/0.195, allocations: 19.88 kB / 0.6982 GB, free: 3.902 MB / 0.5137 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.0002081/0.1952, allocations: 115.1 kB / 0.6983 GB, free: 3.777 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0001255/0.1953, allocations: 31.92 kB / 0.6983 GB, free: 3.746 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1953, allocations: 0 / 0.6983 GB, free: 3.746 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.1953, allocations: 12 kB / 0.6983 GB, free: 3.734 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1956, allocations: 5.875 kB / 0.6983 GB, free: 3.73 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.1959, allocations: 130.6 kB / 0.6984 GB, free: 3.574 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1962, allocations: 0.6729 MB / 0.6991 GB, free: 2.875 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 3.478e-05/0.1962, allocations: 12.3 kB / 0.6991 GB, free: 2.863 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1963, allocations: 11.44 kB / 0.6991 GB, free: 2.852 MB / 0.5137 GB
Notification: Performance of SimCode: time 4.61e-07/0.1963, allocations: 0 / 0.6991 GB, free: 2.852 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003025/0.1993, allocations: 0.525 MB / 0.6996 GB, free: 2.332 MB / 0.5137 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.494878389872611]
Failed to read output from testmodel.py, exit status != 0:
0.20700288005173206 0.222939925 0.028763499
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f06e2d457b0>