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.001606/0.001606, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001846/0.001846, allocations: 218.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 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.1465/0.1465, allocations: 23.86 MB / 337 MB, free: 11.22 MB / 270.1 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: 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.003402/0.003402, allocations: 75.88 kB / 472.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3864, allocations: 59.85 MB / 0.5198 GB, free: 9.879 MB / 382.1 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.03521/0.4216, allocations: 25.05 MB / 0.5443 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4328, allocations: 8.044 MB / 0.5521 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006538/0.4334, allocations: 11.88 kB / 0.5521 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.434, allocations: 193.4 kB / 0.5523 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.4358, allocations: 0.6986 MB / 0.553 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.4386, allocations: 1.051 MB / 0.554 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.4399, allocations: 0.9368 MB / 0.5549 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.4405, allocations: 437 kB / 0.5553 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.441, allocations: 467.5 kB / 0.5558 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.4418, allocations: 0.497 MB / 0.5563 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.4419, allocations: 80 kB / 0.5564 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.4442, allocations: 0.8699 MB / 0.5572 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.4444, allocations: 197.6 kB / 0.5574 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.4448, allocations: 419 kB / 0.5578 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.4476, allocations: 1.823 MB / 0.5596 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4476, allocations: 0 / 0.5596 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4476, allocations: 0 / 0.5596 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4476, allocations: 0 / 0.5596 GB, free: 0.8555 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.002005/0.4496, allocations: 1.113 MB / 0.5607 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4497, allocations: 15.97 kB / 0.5607 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.4503, allocations: 154.2 kB / 0.5608 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.4511, allocations: 430.4 kB / 0.5612 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.4513, allocations: 106.6 kB / 0.5613 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.4514, allocations: 68.98 kB / 0.5614 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4527, allocations: 0.7782 MB / 0.5622 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4527, allocations: 0 / 0.5622 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.4528, allocations: 28 kB / 0.5622 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4528, allocations: 16 kB / 0.5622 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.4543, allocations: 0.8812 MB / 0.5631 GB, free: 13.64 MB / 414.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.004187/0.4585, allocations: 2.537 MB / 0.5655 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.46, allocations: 0.8163 MB / 0.5663 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.4605, allocations: 283.2 kB / 0.5666 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00331/0.4638, allocations: 1.582 MB / 0.5681 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4638, allocations: 38.55 kB / 0.5682 GB, free: 8.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.4638, allocations: 0 / 0.5682 GB, free: 8.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002394/0.4662, allocations: 1.166 MB / 0.5693 GB, free: 7.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4663, allocations: 71.28 kB / 0.5694 GB, free: 7.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.4668, allocations: 413.8 kB / 0.5698 GB, free: 6.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4668, allocations: 33.7 kB / 0.5698 GB, free: 6.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.4671, allocations: 372.2 kB / 0.5702 GB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.4672, allocations: 174.5 kB / 0.5703 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.4674, allocations: 126.6 kB / 0.5705 GB, free: 5.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4676, allocations: 366.7 kB / 0.5708 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.4679, allocations: 149.9 kB / 0.571 GB, free: 5.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.4684, allocations: 384.3 kB / 0.5713 GB, free: 4.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.4692, allocations: 0.5748 MB / 0.5719 GB, free: 4.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4692, allocations: 4 kB / 0.5719 GB, free: 4.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001024/0.4702, allocations: 0.621 MB / 0.5725 GB, free: 3.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4702, allocations: 8 kB / 0.5725 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4702, allocations: 8 kB / 0.5725 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4703, allocations: 16.06 kB / 0.5725 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.4711, allocations: 199.7 kB / 0.5727 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.4711, allocations: 19.92 kB / 0.5727 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.4717, allocations: 20 kB / 0.5728 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.4718, allocations: 32 kB / 0.5728 GB, free: 3.344 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.0003449/0.4721, allocations: 221.5 kB / 0.573 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.4722, allocations: 47.67 kB / 0.573 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.4731, allocations: 0.4935 MB / 0.5735 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.4732, allocations: 4 kB / 0.5735 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4732, allocations: 3.984 kB / 0.5735 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4732, allocations: 0 / 0.5735 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.474, allocations: 0.611 MB / 0.5741 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.474, allocations: 4 kB / 0.5741 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.4746, allocations: 139.9 kB / 0.5743 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4746, allocations: 4 kB / 0.5743 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4747, allocations: 19.98 kB / 0.5743 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.4747, allocations: 4 kB / 0.5743 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4747, allocations: 4.094 kB / 0.5743 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4758, allocations: 0.7224 MB / 0.575 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.476, allocations: 87.56 kB / 0.5751 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.476, allocations: 12 kB / 0.5751 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.4763, allocations: 12 kB / 0.5751 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.4763, allocations: 44.31 kB / 0.5751 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.4764, allocations: 19.98 kB / 0.5752 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.4767, allocations: 279.1 kB / 0.5754 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4767, allocations: 0 / 0.5754 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001002/0.4777, allocations: 335 kB / 0.5758 GB, free: 204 kB / 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.0007881/0.4785, allocations: 445.9 kB / 0.5762 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.4792, allocations: 414.2 kB / 0.5766 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4792, allocations: 0 / 0.5766 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.4795, allocations: 187.1 kB / 0.5767 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.4802, allocations: 133.1 kB / 0.5769 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4822, allocations: 1.233 MB / 0.5781 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.4828, allocations: 0.8861 MB / 0.5789 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.483, allocations: 103.4 kB / 0.579 GB, free: 12.74 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.483, allocations: 0 / 0.579 GB, free: 12.74 MB / 430.1 MB Notification: Performance of Templates: time 0.01402/0.497, allocations: 9.358 MB / 0.5882 GB, free: 3.414 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.323538507102057] Failed to read output from testmodel.py, exit status != 0: 0.5084139669779688 0.52190129 0.071052239 Calling exit ...