Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.0007238/0.0007238, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.000721/0.000721, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.8402/0.8402, allocations: 177.2 MB / 203.6 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08145/0.08145, allocations: 17.37 MB / 277.4 MB, free: 11.89 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Chemical 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.0009316/0.0009316, allocations: 71.89 kB / 412.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2907, allocations: 59.84 MB / 472.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002581/0.2933, allocations: 2.808 MB / 475.5 MB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2964, allocations: 5.547 MB / 481 MB, free: 24.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2965, allocations: 7.031 kB / 481 MB, free: 24.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.2969, allocations: 143.5 kB / 481.2 MB, free: 24.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.2972, allocations: 262 kB / 481.4 MB, free: 23.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.298, allocations: 0.9668 MB / 482.4 MB, free: 23.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.2984, allocations: 498.9 kB / 482.9 MB, free: 23.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2986, allocations: 131.6 kB / 483 MB, free: 23.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2988, allocations: 318.2 kB / 483.3 MB, free: 22.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.299, allocations: 246 kB / 483.6 MB, free: 22.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.299, allocations: 24.34 kB / 483.6 MB, free: 22.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.2995, allocations: 0.5187 MB / 484.1 MB, free: 22.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.2996, allocations: 81.03 kB / 484.2 MB, free: 22.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.2997, allocations: 154.8 kB / 484.3 MB, free: 22.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.3004, allocations: 1.051 MB / 485.4 MB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3004, allocations: 0 / 485.4 MB, free: 22.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3004, allocations: 0 / 485.4 MB, free: 22.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3004, allocations: 3 kB / 485.4 MB, free: 22.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000593/0.301, allocations: 0.6893 MB / 486.1 MB, free: 21.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3011, allocations: 15.5 kB / 486.1 MB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.3014, allocations: 108.3 kB / 486.2 MB, free: 21.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.3017, allocations: 318.2 kB / 486.5 MB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3017, allocations: 14.16 kB / 486.5 MB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.3017, allocations: 24.47 kB / 486.5 MB, free: 21.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.3021, allocations: 389.6 kB / 486.9 MB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3021, allocations: 0 / 486.9 MB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.3021, allocations: 7.156 kB / 486.9 MB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3021, allocations: 3.219 kB / 486.9 MB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.3027, allocations: 0.5419 MB / 487.5 MB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3037, allocations: 1.281 MB / 488.8 MB, free: 20.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.304, allocations: 158.6 kB / 488.9 MB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3041, allocations: 87.38 kB / 489 MB, free: 19.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.3051, allocations: 0.9378 MB / 489.9 MB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.3052, allocations: 44.61 kB / 490 MB, free: 19.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.3052, allocations: 0 / 490 MB, free: 19.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003537/0.3055, allocations: 215.2 kB / 490.2 MB, free: 19.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3055, allocations: 57.41 kB / 490.2 MB, free: 19.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.3058, allocations: 348.1 kB / 490.6 MB, free: 19.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3058, allocations: 31.2 kB / 490.6 MB, free: 19.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3059, allocations: 244 kB / 490.9 MB, free: 18.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3059, allocations: 43.83 kB / 490.9 MB, free: 18.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.306, allocations: 73.98 kB / 491 MB, free: 18.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.3061, allocations: 344.8 kB / 491.3 MB, free: 18.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.3062, allocations: 67.75 kB / 491.4 MB, free: 18.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3063, allocations: 245.4 kB / 491.6 MB, free: 18.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3065, allocations: 340.6 kB / 491.9 MB, free: 17.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3065, allocations: 1.375 kB / 491.9 MB, free: 17.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003529/0.3069, allocations: 354.2 kB / 492.3 MB, free: 17.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3069, allocations: 12.16 kB / 492.3 MB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3069, allocations: 8.547 kB / 492.3 MB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3069, allocations: 8.219 kB / 492.3 MB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3071, allocations: 85.08 kB / 492.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.3071, allocations: 8.469 kB / 492.4 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.3072, allocations: 37.12 kB / 492.4 MB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.3072, allocations: 28.69 kB / 492.5 MB, free: 17.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.444e-05/0.3073, allocations: 156.6 kB / 492.6 MB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3073, allocations: 33.95 kB / 492.7 MB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.3077, allocations: 292.5 kB / 492.9 MB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3077, allocations: 1.625 kB / 492.9 MB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3077, allocations: 0.5625 kB / 492.9 MB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3077, allocations: 0.7031 kB / 492.9 MB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.3081, allocations: 0.5439 MB / 493.5 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3081, allocations: 1.375 kB / 493.5 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.3081, allocations: 11.47 kB / 493.5 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3081, allocations: 5.5 kB / 493.5 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3081, allocations: 10.78 kB / 493.5 MB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3081, allocations: 6 kB / 493.5 MB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3081, allocations: 1.469 kB / 493.5 MB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.3082, allocations: 163.3 kB / 493.7 MB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3083, allocations: 42.25 kB / 493.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3083, allocations: 8.031 kB / 493.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.3083, allocations: 1.562 kB / 493.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.3084, allocations: 9.906 kB / 493.7 MB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3084, allocations: 8.031 kB / 493.8 MB, free: 16.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3086, allocations: 275.5 kB / 494 MB, free: 16.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3086, allocations: 4 kB / 494 MB, free: 16.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.3089, allocations: 176.5 kB / 494.2 MB, free: 16.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0003415/0.3093, allocations: 306.3 kB / 494.5 MB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3095, allocations: 156.9 kB / 494.7 MB, free: 16.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3095, allocations: 0 / 494.7 MB, free: 16.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.3095, allocations: 32.31 kB / 494.7 MB, free: 16.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3098, allocations: 87.69 kB / 494.8 MB, free: 16.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.3104, allocations: 0.5475 MB / 495.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3105, allocations: 166.1 kB / 495.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.3107, allocations: 88.55 kB / 495.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.3108, allocations: 43.78 kB / 495.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3108, allocations: 5.094 kB / 495.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of Templates: time 0.008494/0.3193, allocations: 5.997 MB / 0.4899 GB, free: 15.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.2267063150648028] Failed to read output from testmodel.py, exit status != 0: 0.3251651159953326 0.332898069 0.030884652000000002 Calling exit ...