Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.0007315/0.0007315, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007241/0.0007241, 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.8652/0.8652, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.09296/0.09296, allocations: 17.37 MB / 277.4 MB, free: 11.87 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.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [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.0008926/0.0008926, allocations: 71.88 kB / 412.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2717, allocations: 59.83 MB / 472.7 MB, free: 29.79 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.02304/0.2948, allocations: 24.05 MB / 496.7 MB, free: 20.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.2987, allocations: 5.559 MB / 0.4905 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2989, allocations: 12.38 kB / 0.4905 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2992, allocations: 141.8 kB / 0.4906 GB, free: 17.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.2996, allocations: 266.2 kB / 0.4909 GB, free: 16.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.3005, allocations: 0.9895 MB / 0.4919 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.3009, allocations: 0.506 MB / 0.4924 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3011, allocations: 163.9 kB / 0.4925 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3013, allocations: 331.5 kB / 0.4928 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3015, allocations: 253.5 kB / 0.4931 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3015, allocations: 32 kB / 0.4931 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.3021, allocations: 0.529 MB / 0.4936 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.3022, allocations: 92.28 kB / 0.4937 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3023, allocations: 172.4 kB / 0.4939 GB, free: 14.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.3032, allocations: 1.091 MB / 0.4949 GB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3032, allocations: 8 kB / 0.4949 GB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3032, allocations: 0 / 0.4949 GB, free: 13.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3032, allocations: 0 / 0.4949 GB, free: 13.86 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006935/0.3039, allocations: 0.7274 MB / 0.4957 GB, free: 13.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.304, allocations: 11.97 kB / 0.4957 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.3043, allocations: 118.2 kB / 0.4958 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3046, allocations: 336.2 kB / 0.4961 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3046, allocations: 17.03 kB / 0.4961 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.3046, allocations: 32.06 kB / 0.4961 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.305, allocations: 448.5 kB / 0.4966 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.305, allocations: 0 / 0.4966 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.305, allocations: 12 kB / 0.4966 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.305, allocations: 8 kB / 0.4966 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3055, allocations: 0.5742 MB / 0.4972 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3067, allocations: 1.619 MB / 0.4987 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3068, allocations: 128.1 kB / 0.4989 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.3069, allocations: 81.44 kB / 0.4989 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009447/0.3079, allocations: 0.9018 MB / 0.4998 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3079, allocations: 35.31 kB / 0.4998 GB, free: 9.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3079, allocations: 0 / 0.4998 GB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002706/0.3082, allocations: 182.4 kB / 0.5 GB, free: 9.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3082, allocations: 62.08 kB / 0.5001 GB, free: 8.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3085, allocations: 402.6 kB / 0.5005 GB, free: 8.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.3085, allocations: 29.8 kB / 0.5005 GB, free: 8.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.3086, allocations: 279.6 kB / 0.5008 GB, free: 8.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3086, allocations: 35.41 kB / 0.5008 GB, free: 8.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3086, allocations: 80.8 kB / 0.5009 GB, free: 8.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3087, allocations: 345.4 kB / 0.5012 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.3088, allocations: 66.83 kB / 0.5013 GB, free: 7.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3089, allocations: 289.1 kB / 0.5015 GB, free: 7.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3091, allocations: 392.8 kB / 0.5019 GB, free: 6.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3091, allocations: 0 / 0.5019 GB, free: 6.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000333/0.3094, allocations: 394.1 kB / 0.5023 GB, free: 6.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3095, allocations: 8.562 kB / 0.5023 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3095, allocations: 8 kB / 0.5023 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3095, allocations: 8 kB / 0.5023 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3096, allocations: 87.56 kB / 0.5024 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3096, allocations: 21.84 kB / 0.5024 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3097, allocations: 40.45 kB / 0.5025 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3098, allocations: 28.75 kB / 0.5025 GB, free: 6.422 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (38): * Single equations (assignments): 38 * 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.735e-05/0.3099, allocations: 164.6 kB / 0.5026 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3099, allocations: 36.53 kB / 0.5027 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.3102, allocations: 239.4 kB / 0.5029 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3102, allocations: 0 / 0.5029 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3102, allocations: 4.609 kB / 0.5029 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3102, allocations: 3.938 kB / 0.5029 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.3104, allocations: 461.6 kB / 0.5034 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3104, allocations: 0.5625 kB / 0.5034 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.3105, allocations: 0.5156 kB / 0.5034 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3105, allocations: 0 / 0.5034 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3105, allocations: 8.562 kB / 0.5034 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3105, allocations: 3.938 kB / 0.5034 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3105, allocations: 0 / 0.5034 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.578e-05/0.3105, allocations: 106 kB / 0.5035 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.3106, allocations: 30.11 kB / 0.5035 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3106, allocations: 4.516 kB / 0.5035 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.3106, allocations: 4.797 kB / 0.5035 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.3106, allocations: 7.984 kB / 0.5035 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3106, allocations: 4.703 kB / 0.5035 GB, free: 5.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3109, allocations: 308.7 kB / 0.5038 GB, free: 5.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3109, allocations: 0 / 0.5038 GB, free: 5.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.3112, allocations: 187.6 kB / 0.504 GB, free: 4.918 MB / 410.7 MB 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.0003042/0.3115, allocations: 298.1 kB / 0.5043 GB, free: 4.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3116, allocations: 157.9 kB / 0.5044 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3116, allocations: 0 / 0.5044 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.338e-06/0.3116, allocations: 13.94 kB / 0.5044 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3119, allocations: 75.27 kB / 0.5045 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.3124, allocations: 0.5434 MB / 0.505 GB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3126, allocations: 180 kB / 0.5052 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.3127, allocations: 95.64 kB / 0.5053 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.3128, allocations: 40.62 kB / 0.5053 GB, free: 3.633 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3128, allocations: 0 / 0.5053 GB, free: 3.633 MB / 410.7 MB Notification: Performance of Templates: time 0.007255/0.32, allocations: 6.141 MB / 0.5113 GB, free: 15.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0614422149956226] Failed to read output from testmodel.py, exit status != 0: 0.325295029906556 0.33332837800000004 0.028379312 Calling exit ...