Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.001586/0.001586, 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.002082/0.002082, allocations: 191.5 kB / 22.23 MB, free: 5.102 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.01 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.8615/0.8615, allocations: 134 MB / 440.3 MB, free: 236 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime")
translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.39 kB / 0.6107 GB, free: 13.73 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1955, allocations: 84.73 MB / 0.6934 GB, free: 9.066 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001826/0.1973, allocations: 0.5874 MB / 0.694 GB, free: 8.477 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 4.097e-05/0.1974, allocations: 0 / 0.694 GB, free: 8.477 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.1974, allocations: 0 / 0.694 GB, free: 8.477 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.1974, allocations: 4 kB / 0.694 GB, free: 8.473 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.1974, allocations: 0 / 0.694 GB, free: 8.473 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 3.919e-05/0.1975, allocations: 0 / 0.694 GB, free: 8.473 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.1975, allocations: 7.938 kB / 0.694 GB, free: 8.465 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.1976, allocations: 12.33 kB / 0.694 GB, free: 8.453 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.683e-05/0.1976, allocations: 0 / 0.694 GB, free: 8.453 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.132e-05/0.1976, allocations: 0 / 0.694 GB, free: 8.453 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1977, allocations: 0 / 0.694 GB, free: 8.453 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.487e-06/0.1977, allocations: 0 / 0.694 GB, free: 8.453 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.1977, allocations: 3.984 kB / 0.694 GB, free: 8.449 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1977, allocations: 0 / 0.694 GB, free: 8.449 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 5.62e-05/0.1977, allocations: 4 kB / 0.694 GB, free: 8.445 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1978, allocations: 4 kB / 0.6941 GB, free: 8.441 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 2.174e-06/0.1978, allocations: 0 / 0.6941 GB, free: 8.441 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 1.041e-05/0.1978, allocations: 0 / 0.6941 GB, free: 8.441 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003143/0.1981, allocations: 238.4 kB / 0.6943 GB, free: 8.176 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1981, allocations: 8.031 kB / 0.6943 GB, free: 8.168 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1981, allocations: 4.922 kB / 0.6943 GB, free: 8.164 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.869e-05/0.1982, allocations: 110.5 kB / 0.6944 GB, free: 8.031 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1982, allocations: 4.312 kB / 0.6944 GB, free: 8.027 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1983, allocations: 4.375 kB / 0.6944 GB, free: 8.023 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1984, allocations: 30.27 kB / 0.6944 GB, free: 7.988 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1984, allocations: 4.172 kB / 0.6944 GB, free: 7.984 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1984, allocations: 3.938 kB / 0.6944 GB, free: 7.98 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1984, allocations: 0 / 0.6944 GB, free: 7.98 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.1984, allocations: 7.938 kB / 0.6944 GB, free: 7.973 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1986, allocations: 120.7 kB / 0.6946 GB, free: 7.812 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.1986, allocations: 18.56 kB / 0.6946 GB, free: 7.785 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.1986, allocations: 12.95 kB / 0.6946 GB, free: 7.77 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1987, allocations: 0 / 0.6946 GB, free: 7.77 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.1987, allocations: 30.56 kB / 0.6946 GB, free: 7.73 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1987, allocations: 0 / 0.6946 GB, free: 7.73 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1): time 0.0001391/0.1988, allocations: 45.58 kB / 0.6947 GB, free: 7.68 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1989, allocations: 51.41 kB / 0.6947 GB, free: 7.617 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.1989, allocations: 89.86 kB / 0.6948 GB, free: 7.52 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.199, allocations: 29.83 kB / 0.6948 GB, free: 7.484 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.199, allocations: 80.14 kB / 0.6949 GB, free: 7.402 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.199, allocations: 3.953 kB / 0.6949 GB, free: 7.398 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1991, allocations: 13.72 kB / 0.6949 GB, free: 7.379 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001505/0.1992, allocations: 314.8 kB / 0.6952 GB, free: 7.062 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.1992, allocations: 4 kB / 0.6952 GB, free: 7.059 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.1992, allocations: 0 / 0.6952 GB, free: 7.059 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.1993, allocations: 12.92 kB / 0.6952 GB, free: 7.043 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1993, allocations: 0 / 0.6952 GB, free: 7.043 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.137e-05/0.1993, allocations: 33.64 kB / 0.6953 GB, free: 7.004 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1993, allocations: 8 kB / 0.6953 GB, free: 6.996 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1993, allocations: 0 / 0.6953 GB, free: 6.996 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1993, allocations: 3.938 kB / 0.6953 GB, free: 6.992 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.1994, allocations: 0 / 0.6953 GB, free: 6.992 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.1994, allocations: 0 / 0.6953 GB, free: 6.992 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.1994, allocations: 3.984 kB / 0.6953 GB, free: 6.988 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1994, allocations: 4 kB / 0.6953 GB, free: 6.984 MB / 0.5137 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 (1):
 * Single equations (assignments): 1
 * 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 7.599e-05/0.1995, allocations: 113.9 kB / 0.6954 GB, free: 6.863 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-06/0.1995, allocations: 0 / 0.6954 GB, free: 6.863 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.1995, allocations: 6.938 kB / 0.6954 GB, free: 6.859 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1995, allocations: 0 / 0.6954 GB, free: 6.859 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1995, allocations: 0 / 0.6954 GB, free: 6.859 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1995, allocations: 0 / 0.6954 GB, free: 6.859 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1996, allocations: 120.8 kB / 0.6955 GB, free: 6.699 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1996, allocations: 0 / 0.6955 GB, free: 6.699 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.1996, allocations: 0 / 0.6955 GB, free: 6.699 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1996, allocations: 3.938 kB / 0.6955 GB, free: 6.695 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1997, allocations: 15.88 kB / 0.6955 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1997, allocations: 0 / 0.6955 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1997, allocations: 3.938 kB / 0.6955 GB, free: 6.676 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.875e-05/0.1997, allocations: 53.14 kB / 0.6956 GB, free: 6.605 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.1997, allocations: 8 kB / 0.6956 GB, free: 6.598 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1997, allocations: 7.922 kB / 0.6956 GB, free: 6.59 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.1998, allocations: 0 / 0.6956 GB, free: 6.59 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1998, allocations: 4.031 kB / 0.6956 GB, free: 6.586 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.1998, allocations: 0 / 0.6956 GB, free: 6.586 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 4.272e-05/0.1998, allocations: 75.28 kB / 0.6957 GB, free: 6.512 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 6e-08/0.1998, allocations: 0 / 0.6957 GB, free: 6.512 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0001891/0.2, allocations: 0 / 0.6957 GB, free: 6.512 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 (1):
 * Single equations (assignments): 1
 * 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 9.507e-05/0.2001, allocations: 92.67 kB / 0.6958 GB, free: 6.41 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 8.286e-05/0.2002, allocations: 11.94 kB / 0.6958 GB, free: 6.398 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2002, allocations: 0 / 0.6958 GB, free: 6.398 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.2002, allocations: 8.062 kB / 0.6958 GB, free: 6.391 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2003, allocations: 0 / 0.6958 GB, free: 6.391 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.2005, allocations: 80.86 kB / 0.6959 GB, free: 6.285 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2009, allocations: 0.669 MB / 0.6965 GB, free: 5.59 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 1.068e-05/0.2009, allocations: 0 / 0.6965 GB, free: 5.59 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.2009, allocations: 7.438 kB / 0.6965 GB, free: 5.582 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.9e-07/0.2009, allocations: 0 / 0.6965 GB, free: 5.582 MB / 0.5137 GB
Notification: Performance of Templates: time 0.002239/0.2031, allocations: 173.3 kB / 0.6967 GB, free: 5.414 MB / 0.5137 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.746891024522483]
Failed to read output from testmodel.py, exit status != 0:
0.21008750051259995 0.224593216 0.023950683
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5f15c9d7b0>