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.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.001848/0.001848, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002248/0.002248, allocations: 218 kB / 23.01 MB, free: 4.566 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.8742/0.8742, allocations: 134 MB / 447.2 MB, free: 10.19 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.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: 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.002154/0.002154, allocations: 72.02 kB / 0.6197 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1941, allocations: 85.89 MB / 0.7036 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002391/0.1965, allocations: 0.6137 MB / 0.7042 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 5.067e-05/0.1966, allocations: 3.938 kB / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.1966, allocations: 0 / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1966, allocations: 0 / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-06/0.1966, allocations: 0 / 0.7042 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.743e-05/0.1967, allocations: 4 kB / 0.7042 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.1967, allocations: 4 kB / 0.7042 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.1968, allocations: 4.344 kB / 0.7042 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.1968, allocations: 0 / 0.7042 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.283e-05/0.1968, allocations: 4 kB / 0.7042 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1969, allocations: 0 / 0.7042 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.1969, allocations: 4 kB / 0.7042 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.1969, allocations: 0 / 0.7042 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1969, allocations: 3.984 kB / 0.7043 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.197, allocations: 3.984 kB / 0.7043 GB, free: 336 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.197, allocations: 0 / 0.7043 GB, free: 336 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.197, allocations: 0 / 0.7043 GB, free: 336 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.197, allocations: 0 / 0.7043 GB, free: 336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003372/0.1973, allocations: 238.4 kB / 0.7045 GB, free: 64 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1974, allocations: 12.03 kB / 0.7045 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.1974, allocations: 0.9375 kB / 0.7045 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1975, allocations: 110.5 kB / 0.7046 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1975, allocations: 4.312 kB / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1975, allocations: 384 / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1977, allocations: 30.25 kB / 0.7046 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1977, allocations: 4.188 kB / 0.7046 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1977, allocations: 3.938 kB / 0.7046 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1977, allocations: 0 / 0.7046 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.1977, allocations: 7.938 kB / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1979, allocations: 116.8 kB / 0.7048 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.1979, allocations: 18.61 kB / 0.7048 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.198, allocations: 4.859 kB / 0.7048 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.198, allocations: 4.062 kB / 0.7048 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.198, allocations: 34.55 kB / 0.7048 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.198, allocations: 4 kB / 0.7048 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.1982, allocations: 45.53 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1982, allocations: 55.34 kB / 0.7049 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.1983, allocations: 89.86 kB / 0.705 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1983, allocations: 25.7 kB / 0.705 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1984, allocations: 80.14 kB / 0.7051 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1984, allocations: 4 kB / 0.7051 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1985, allocations: 9.719 kB / 0.7051 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1986, allocations: 315 kB / 0.7054 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.1986, allocations: 0 / 0.7054 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.1987, allocations: 8 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.1987, allocations: 8.844 kB / 0.7054 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1987, allocations: 0 / 0.7054 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.859e-05/0.1988, allocations: 37.64 kB / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1988, allocations: 4 kB / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1988, allocations: 0 / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1988, allocations: 8.031 kB / 0.7055 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1989, allocations: 4 kB / 0.7055 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1989, allocations: 0 / 0.7055 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.1989, allocations: 0 / 0.7055 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1989, allocations: 4 kB / 0.7055 GB, free: 14.88 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 (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 0.0001041/0.199, allocations: 105.8 kB / 0.7056 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.199, allocations: 11.98 kB / 0.7056 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.199, allocations: 6.938 kB / 0.7056 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.199, allocations: 3.938 kB / 0.7056 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.199, allocations: 4 kB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1991, allocations: 3.984 kB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1992, allocations: 112.8 kB / 0.7057 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1992, allocations: 0 / 0.7057 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.1992, allocations: 4 kB / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1992, allocations: 0 / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1992, allocations: 7.922 kB / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1992, allocations: 0 / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1992, allocations: 0 / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1993, allocations: 65.08 kB / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-06/0.1993, allocations: 0 / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1993, allocations: 3.938 kB / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.1993, allocations: 0 / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.1993, allocations: 3.984 kB / 0.7058 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1994, allocations: 4 kB / 0.7058 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.1994, allocations: 75.28 kB / 0.7059 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1994, allocations: 0 / 0.7059 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001937/0.1996, allocations: 0 / 0.7059 GB, free: 14.4 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 (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 0.000124/0.1997, allocations: 95.28 kB / 0.706 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.1998, allocations: 11.88 kB / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.1998, allocations: 4 kB / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.1998, allocations: 0 / 0.706 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.2, allocations: 4 kB / 0.706 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.2002, allocations: 94.72 kB / 0.7061 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.2006, allocations: 0.6806 MB / 0.7068 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.2007, allocations: 11.44 kB / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.2007, allocations: 0 / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.001889/0.2025, allocations: 319.9 kB / 0.7071 GB, free: 13.12 MB / 0.5294 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: 7.996845155954361] Failed to read output from testmodel.py, exit status != 0: 0.21110324002802372 0.23631863899999994 0.034791196 Calling exit ...