Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002043/0.002043, allocations: 85.48 kB / 19.44 MB, free: 336 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.002838/0.002838, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1438/0.1438, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.054e-05, allocations: 4.422 kB / 352.7 MB, free: 10.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04181/0.04185, allocations: 25.7 MB / 378.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.05527, allocations: 8.018 MB / 386.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.05597, allocations: 11.88 kB / 386.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.05664, allocations: 178.6 kB / 386.6 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.05857, allocations: 0.721 MB / 387.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.06225, allocations: 1.076 MB / 388.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.0637, allocations: 0.9701 MB / 389.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.06435, allocations: 438.7 kB / 389.8 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.06514, allocations: 0.6317 MB / 390.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.06587, allocations: 423 kB / 390.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.06602, allocations: 84 kB / 390.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.06805, allocations: 0.8304 MB / 391.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.06829, allocations: 195.4 kB / 391.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.06869, allocations: 299.3 kB / 392.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.07183, allocations: 1.926 MB / 394.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.07183, allocations: 0 / 394.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07183, allocations: 0 / 394.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.07184, allocations: 0 / 394.2 MB, free: 0.9453 MB / 314.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.002527/0.07437, allocations: 1.266 MB / 395.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.07442, allocations: 8.031 kB / 395.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.07522, allocations: 255.5 kB / 395.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008717/0.07609, allocations: 431.9 kB / 396.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.07622, allocations: 110 kB / 396.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.07636, allocations: 72.33 kB / 396.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.07779, allocations: 0.7943 MB / 397.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.07781, allocations: 192 / 397.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.07789, allocations: 28.12 kB / 397.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.07791, allocations: 19.94 kB / 397.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.07946, allocations: 0.8484 MB / 398 MB, free: 13.03 MB / 330.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.004561/0.08402, allocations: 2.367 MB / 400.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.08573, allocations: 0.7979 MB / 401.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.08625, allocations: 273.5 kB / 401.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003831/0.09008, allocations: 1.662 MB / 403.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.09013, allocations: 41.39 kB / 403.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.534e-06/0.09013, allocations: 0 / 403.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002692/0.09282, allocations: 1.167 MB / 404.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.09288, allocations: 59.41 kB / 404.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.09351, allocations: 0.518 MB / 404.8 MB, free: 5.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.09355, allocations: 33.7 kB / 404.9 MB, free: 5.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.09391, allocations: 454.7 kB / 405.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.09409, allocations: 170.6 kB / 405.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.09431, allocations: 148.3 kB / 405.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003387/0.09465, allocations: 0.5509 MB / 406.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.09494, allocations: 141.9 kB / 406.3 MB, free: 4.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.09558, allocations: 499.4 kB / 406.8 MB, free: 3.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.09656, allocations: 0.6763 MB / 407.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.09657, allocations: 4 kB / 407.5 MB, free: 3 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001096/0.09766, allocations: 0.6419 MB / 408.1 MB, free: 2.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.09769, allocations: 8 kB / 408.1 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.0977, allocations: 8 kB / 408.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.09773, allocations: 12 kB / 408.2 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.09846, allocations: 199.7 kB / 408.4 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.09848, allocations: 19.92 kB / 408.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.09878, allocations: 24.03 kB / 408.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.09885, allocations: 36 kB / 408.4 MB, free: 2.051 MB / 330.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.0003328/0.09918, allocations: 248.3 kB / 408.7 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.09939, allocations: 63.67 kB / 408.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.1004, allocations: 494.7 kB / 409.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1005, allocations: 8 kB / 409.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1005, allocations: 0 / 409.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1005, allocations: 7.922 kB / 409.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.1014, allocations: 0.5754 MB / 409.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1014, allocations: 4.031 kB / 409.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.102, allocations: 139.9 kB / 410 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.102, allocations: 4 kB / 410 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1021, allocations: 16 kB / 410 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1021, allocations: 0 / 410 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1021, allocations: 4 kB / 410 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.189/0.2911, allocations: 0.7831 MB / 410.8 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.2913, allocations: 83.47 kB / 410.8 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.2914, allocations: 12.97 kB / 410.9 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.2917, allocations: 13 kB / 410.9 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2918, allocations: 42.02 kB / 410.9 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.2918, allocations: 20.58 kB / 410.9 MB, free: 62.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003867/0.2922, allocations: 323.6 kB / 411.2 MB, free: 62.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2922, allocations: 0 / 411.2 MB, free: 62.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001071/0.2933, allocations: 333.5 kB / 411.6 MB, free: 62.1 MB / 330.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.0007895/0.2941, allocations: 448.2 kB / 412 MB, free: 62.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.2948, allocations: 450.1 kB / 412.4 MB, free: 62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2948, allocations: 0 / 412.4 MB, free: 62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.2951, allocations: 216.2 kB / 412.7 MB, free: 61.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.2959, allocations: 131.4 kB / 412.8 MB, free: 61.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2976, allocations: 1.162 MB / 413.9 MB, free: 61.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.298, allocations: 294.4 kB / 414.2 MB, free: 61.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.2984, allocations: 115.1 kB / 414.3 MB, free: 61.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.2985, allocations: 71.33 kB / 414.4 MB, free: 61.33 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2985, allocations: 0 / 414.4 MB, free: 61.33 MB / 330.7 MB Notification: Performance of Templates: time 0.01798/0.3165, allocations: 10.2 MB / 424.6 MB, free: 58.51 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4482447089394554]