Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.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.001721/0.001721, allocations: 113 kB / 17.6 MB, free: 4.684 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.001499/0.001499, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1473/0.1473, allocations: 15.54 MB / 320 MB, free: 13.15 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 66.7 kB / 448.2 MB, free: 47.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1376, allocations: 56.55 MB / 0.4929 GB, free: 19.46 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.SimpleReaction): time 0.03361/0.1712, allocations: 24.71 MB / 0.5171 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.1845, allocations: 8.025 MB / 0.5249 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.1852, allocations: 11.94 kB / 0.5249 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.1859, allocations: 178.6 kB / 0.5251 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.1879, allocations: 0.6981 MB / 0.5258 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.1907, allocations: 1.029 MB / 0.5268 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.192, allocations: 0.9394 MB / 0.5277 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006189/0.1926, allocations: 425.9 kB / 0.5281 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.1931, allocations: 454.8 kB / 0.5285 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.1939, allocations: 0.4982 MB / 0.529 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.194, allocations: 76 kB / 0.5291 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.1967, allocations: 0.8737 MB / 0.5299 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.197, allocations: 199.3 kB / 0.5301 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.1974, allocations: 414.2 kB / 0.5305 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.2007, allocations: 1.77 MB / 0.5323 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2007, allocations: 0 / 0.5323 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2007, allocations: 0 / 0.5323 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.2007, allocations: 3.984 kB / 0.5323 GB, free: 13.25 MB / 398.1 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.002059/0.2028, allocations: 1.191 MB / 0.5334 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2028, allocations: 8.031 kB / 0.5334 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.2034, allocations: 156 kB / 0.5336 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.2042, allocations: 491.6 kB / 0.5341 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.2043, allocations: 80.27 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2045, allocations: 68.33 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2059, allocations: 0.7817 MB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.2059, allocations: 4 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.206, allocations: 27.94 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.206, allocations: 16 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.2075, allocations: 0.8796 MB / 0.5359 GB, free: 9.457 MB / 398.1 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.004413/0.212, allocations: 2.575 MB / 0.5384 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2136, allocations: 0.966 MB / 0.5393 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.2141, allocations: 286.3 kB / 0.5396 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004134/0.2182, allocations: 2.844 MB / 0.5424 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2183, allocations: 38.55 kB / 0.5424 GB, free: 2.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.2183, allocations: 0 / 0.5424 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002596/0.2209, allocations: 1.245 MB / 0.5436 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2209, allocations: 55.41 kB / 0.5437 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.2214, allocations: 413.8 kB / 0.5441 GB, free: 456 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.2215, allocations: 33.7 kB / 0.5441 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.2217, allocations: 380.1 kB / 0.5445 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.2219, allocations: 174.7 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2221, allocations: 126.6 kB / 0.5448 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.2223, allocations: 358.8 kB / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.2226, allocations: 153.9 kB / 0.5452 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.2231, allocations: 384.3 kB / 0.5456 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.2239, allocations: 0.5826 MB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2239, allocations: 0 / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001003/0.2249, allocations: 0.6123 MB / 0.5468 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2249, allocations: 11.81 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.225, allocations: 11.75 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.225, allocations: 19.98 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.2257, allocations: 199.7 kB / 0.547 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/0.2257, allocations: 23.92 kB / 0.547 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.226, allocations: 16 kB / 0.547 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.2261, allocations: 36 kB / 0.5471 GB, free: 13.12 MB / 414.1 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.000268/0.2264, allocations: 209.6 kB / 0.5473 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.2264, allocations: 59.56 kB / 0.5473 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2274, allocations: 497.5 kB / 0.5478 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2275, allocations: 7.984 kB / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2275, allocations: 0 / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2275, allocations: 0 / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.2284, allocations: 0.6316 MB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2284, allocations: 4.031 kB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.229, allocations: 135.9 kB / 0.5486 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.229, allocations: 7.938 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.2291, allocations: 19.98 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.2291, allocations: 4 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2291, allocations: 3.938 kB / 0.5486 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2302, allocations: 0.7229 MB / 0.5493 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.2304, allocations: 160.7 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.2305, allocations: 15.94 kB / 0.5495 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2307, allocations: 12 kB / 0.5495 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2308, allocations: 44.33 kB / 0.5495 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.2308, allocations: 27.92 kB / 0.5496 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.2312, allocations: 271.2 kB / 0.5498 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2312, allocations: 0 / 0.5498 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001072/0.2323, allocations: 339 kB / 0.5501 GB, free: 9.848 MB / 414.1 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.0008484/0.2331, allocations: 430 kB / 0.5506 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.2339, allocations: 413.7 kB / 0.5509 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2339, allocations: 4 kB / 0.5509 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.2342, allocations: 186.4 kB / 0.5511 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.2349, allocations: 141.3 kB / 0.5513 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2373, allocations: 1.197 MB / 0.5524 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.2378, allocations: 0.89 MB / 0.5533 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003826/0.2382, allocations: 116.6 kB / 0.5534 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2384, allocations: 75.41 kB / 0.5535 GB, free: 6.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2384, allocations: 3.938 kB / 0.5535 GB, free: 6.344 MB / 414.1 MB Notification: Performance of Templates: time 0.02053/0.2589, allocations: 10.33 MB / 0.5636 GB, free: 12.06 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction.sim & ./Chemical_Chemical.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.58329199347645]