Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.0007561/0.0007561, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007233/0.0007233, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8501/0.8501, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08869/0.08869, allocations: 17.45 MB / 277.4 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.482e-05, allocations: 2.281 kB / 412.9 MB, free: 15.78 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66: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 master/Obsolete.mo:14335:7-14335:66: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.SimpleReaction): time 0.0201/0.02012, allocations: 25.08 MB / 437.9 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.1904, allocations: 7.058 MB / 445 MB, free: 59.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.191, allocations: 15.81 kB / 445 MB, free: 59.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1914, allocations: 177.3 kB / 445.2 MB, free: 59.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1929, allocations: 0.7164 MB / 445.9 MB, free: 59.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1947, allocations: 1.078 MB / 447 MB, free: 59.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.1953, allocations: 0.9681 MB / 447.9 MB, free: 59.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.1957, allocations: 434.8 kB / 448.4 MB, free: 59.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.196, allocations: 0.6293 MB / 449 MB, free: 59.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.1964, allocations: 407.9 kB / 449.4 MB, free: 59.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.1965, allocations: 78.34 kB / 449.5 MB, free: 59.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1975, allocations: 0.8285 MB / 450.3 MB, free: 59.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1976, allocations: 191.4 kB / 450.5 MB, free: 59.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1978, allocations: 300.9 kB / 450.8 MB, free: 59.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.1991, allocations: 1.923 MB / 452.7 MB, free: 58.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1991, allocations: 0 / 452.7 MB, free: 58.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1991, allocations: 0 / 452.7 MB, free: 58.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.1992, allocations: 7.25 kB / 452.7 MB, free: 58.48 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001024/0.2002, allocations: 1.102 MB / 453.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2002, allocations: 9.844 kB / 453.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.2006, allocations: 153.5 kB / 454 MB, free: 57.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.201, allocations: 422.2 kB / 454.4 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.2011, allocations: 110.9 kB / 454.5 MB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.2012, allocations: 75.44 kB / 454.6 MB, free: 57.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.2018, allocations: 0.7707 MB / 455.3 MB, free: 57.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2019, allocations: 3.188 kB / 455.3 MB, free: 57.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.2019, allocations: 26.38 kB / 455.4 MB, free: 57.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.2019, allocations: 20.03 kB / 455.4 MB, free: 57.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.2027, allocations: 0.8659 MB / 456.3 MB, free: 56.76 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2045, allocations: 1.986 MB / 458.2 MB, free: 55.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.2053, allocations: 0.8099 MB / 459.1 MB, free: 55.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.2056, allocations: 278.3 kB / 459.3 MB, free: 55.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.2072, allocations: 1.51 MB / 460.8 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2072, allocations: 37.81 kB / 460.9 MB, free: 54.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.2072, allocations: 2.656 kB / 460.9 MB, free: 54.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.00128/0.2085, allocations: 1.163 MB / 462 MB, free: 53.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2085, allocations: 60.5 kB / 462.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.2087, allocations: 405.6 kB / 462.5 MB, free: 53.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2087, allocations: 33.7 kB / 462.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2088, allocations: 374.7 kB / 462.9 MB, free: 53.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.2089, allocations: 166.8 kB / 463.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.209, allocations: 128.7 kB / 463.2 MB, free: 53.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.209, allocations: 364.6 kB / 463.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2092, allocations: 148.5 kB / 463.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2094, allocations: 390.8 kB / 464.1 MB, free: 52.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.2098, allocations: 0.5798 MB / 464.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2098, allocations: 3.219 kB / 464.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005162/0.2103, allocations: 0.6142 MB / 465.3 MB, free: 51.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2103, allocations: 9.344 kB / 465.3 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2103, allocations: 6.438 kB / 465.3 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2103, allocations: 13.12 kB / 465.3 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.2107, allocations: 208 kB / 465.5 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2107, allocations: 18.67 kB / 465.5 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2108, allocations: 25.59 kB / 465.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2109, allocations: 35.38 kB / 465.6 MB, free: 51.75 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 (83): * Single equations (assignments): 83 * 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.0001251/0.211, allocations: 208.1 kB / 465.8 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.211, allocations: 50.64 kB / 465.8 MB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.2115, allocations: 0.4931 MB / 466.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2115, allocations: 3.188 kB / 466.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2115, allocations: 0 / 466.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2115, allocations: 9.094 kB / 466.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.2119, allocations: 480.9 kB / 466.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2119, allocations: 0 / 466.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.2122, allocations: 145.2 kB / 466.9 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2122, allocations: 6.969 kB / 466.9 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2122, allocations: 20.34 kB / 467 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2122, allocations: 2.969 kB / 467 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2122, allocations: 5.938 kB / 467 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.2128, allocations: 0.7253 MB / 467.7 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.2128, allocations: 79.8 kB / 467.8 MB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2129, allocations: 14.41 kB / 467.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.213, allocations: 11.22 kB / 467.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.213, allocations: 46.81 kB / 467.8 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2131, allocations: 16.56 kB / 467.9 MB, free: 50.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2132, allocations: 261.2 kB / 468.1 MB, free: 50.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2132, allocations: 2.656 kB / 468.1 MB, free: 50.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004956/0.2137, allocations: 331.6 kB / 468.4 MB, free: 50.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.logn) * 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 (53): * Single equations (assignments): 53 * 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.0005108/0.2142, allocations: 458.7 kB / 468.9 MB, free: 50.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.2146, allocations: 415.2 kB / 469.3 MB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2146, allocations: 2.656 kB / 469.3 MB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2148, allocations: 191.1 kB / 469.5 MB, free: 50.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.2152, allocations: 121.5 kB / 469.6 MB, free: 50.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2162, allocations: 1.156 MB / 470.8 MB, free: 49.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2164, allocations: 294 kB / 471 MB, free: 49.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2165, allocations: 92.67 kB / 471.1 MB, free: 49.25 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2165, allocations: 0 / 471.1 MB, free: 49.25 MB / 410.7 MB Notification: Performance of Templates: time 0.008772/0.2253, allocations: 9.595 MB / 480.7 MB, free: 48.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.829784691333771] Failed to read output from testmodel.py, exit status != 0: 0.23066549189388752 0.240621622 0.039376867 Calling exit ...