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.001317/0.001317, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001687/0.001687, allocations: 212.5 kB / 22.99 MB, free: 4.953 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1494/0.1494, allocations: 23.88 MB / 337.1 MB, free: 10.95 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.002059/0.002059, allocations: 67.91 kB / 472.4 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5364, allocations: 59.87 MB / 0.5198 GB, free: 9.801 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.07897/0.6154, allocations: 24.74 MB / 0.5439 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.6271, allocations: 7.058 MB / 0.5508 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.628, allocations: 11.88 kB / 0.5508 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.6288, allocations: 178.3 kB / 0.551 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.6316, allocations: 0.7058 MB / 0.5517 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.6351, allocations: 1.043 MB / 0.5527 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.637, allocations: 0.9367 MB / 0.5536 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009046/0.6379, allocations: 436.7 kB / 0.554 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006935/0.6386, allocations: 460.8 kB / 0.5545 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.6394, allocations: 0.5013 MB / 0.555 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.6396, allocations: 76 kB / 0.555 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.6423, allocations: 0.8446 MB / 0.5559 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.6426, allocations: 194.2 kB / 0.556 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.643, allocations: 347.4 kB / 0.5564 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.647, allocations: 1.82 MB / 0.5581 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.647, allocations: 8 kB / 0.5582 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.647, allocations: 0 / 0.5582 GB, free: 1.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.647, allocations: 0 / 0.5582 GB, free: 1.953 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.002255/0.6492, allocations: 1.105 MB / 0.5592 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6493, allocations: 15.97 kB / 0.5592 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.65, allocations: 157.8 kB / 0.5594 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.6508, allocations: 422.5 kB / 0.5598 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.651, allocations: 111.3 kB / 0.5599 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.6511, allocations: 72.33 kB / 0.56 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.6526, allocations: 0.7764 MB / 0.5607 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6526, allocations: 0 / 0.5607 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.6526, allocations: 24.8 kB / 0.5608 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6527, allocations: 16 kB / 0.5608 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6542, allocations: 0.877 MB / 0.5616 GB, free: 14.75 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.004155/0.6584, allocations: 1.982 MB / 0.5636 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.66, allocations: 0.8123 MB / 0.5644 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.6604, allocations: 275.2 kB / 0.5646 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003556/0.664, allocations: 1.508 MB / 0.5661 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.664, allocations: 34.56 kB / 0.5661 GB, free: 10.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.494e-06/0.664, allocations: 0 / 0.5661 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002566/0.6666, allocations: 1.174 MB / 0.5673 GB, free: 8.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.6666, allocations: 55.41 kB / 0.5673 GB, free: 8.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.6672, allocations: 397.7 kB / 0.5677 GB, free: 8.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.6672, allocations: 33.7 kB / 0.5677 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.6675, allocations: 391.9 kB / 0.5681 GB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.6677, allocations: 170.6 kB / 0.5683 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.6679, allocations: 130.6 kB / 0.5684 GB, free: 7.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.6681, allocations: 354.8 kB / 0.5687 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.6684, allocations: 149.9 kB / 0.5689 GB, free: 7.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.6689, allocations: 396.3 kB / 0.5693 GB, free: 6.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.6697, allocations: 0.5748 MB / 0.5698 GB, free: 6.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6697, allocations: 3.938 kB / 0.5698 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001086/0.6708, allocations: 0.6086 MB / 0.5704 GB, free: 5.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6708, allocations: 8 kB / 0.5704 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6709, allocations: 8 kB / 0.5704 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.6709, allocations: 16.75 kB / 0.5704 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.6717, allocations: 207.7 kB / 0.5706 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.6717, allocations: 15.94 kB / 0.5707 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.672, allocations: 19.98 kB / 0.5707 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.6721, allocations: 36 kB / 0.5707 GB, free: 5.168 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.0003965/0.6725, allocations: 209.6 kB / 0.5709 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.6726, allocations: 47.67 kB / 0.571 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.6736, allocations: 497.2 kB / 0.5714 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.6736, allocations: 15.94 kB / 0.5714 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6736, allocations: 0 / 0.5714 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6736, allocations: 3.984 kB / 0.5715 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.6745, allocations: 482.5 kB / 0.5719 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6745, allocations: 4 kB / 0.5719 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.675, allocations: 140 kB / 0.5721 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.675, allocations: 4 kB / 0.5721 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.6751, allocations: 16 kB / 0.5721 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6751, allocations: 7.938 kB / 0.5721 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.6751, allocations: 11.86 kB / 0.5721 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6764, allocations: 0.7186 MB / 0.5728 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.6766, allocations: 83.61 kB / 0.5729 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.6767, allocations: 11.98 kB / 0.5729 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.6769, allocations: 12 kB / 0.5729 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.677, allocations: 52.19 kB / 0.5729 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.677, allocations: 20 kB / 0.573 GB, free: 2.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.6773, allocations: 263.1 kB / 0.5732 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6773, allocations: 0 / 0.5732 GB, free: 2.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001263/0.6786, allocations: 331.1 kB / 0.5735 GB, free: 2.195 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.0008462/0.6795, allocations: 434.1 kB / 0.5739 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.6802, allocations: 421.3 kB / 0.5743 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6802, allocations: 0 / 0.5743 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.6805, allocations: 182.4 kB / 0.5745 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.6813, allocations: 136.1 kB / 0.5746 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.6835, allocations: 1.244 MB / 0.5759 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6838, allocations: 292.1 kB / 0.5761 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.684, allocations: 87.39 kB / 0.5762 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.512e-06/0.684, allocations: 3.938 kB / 0.5762 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Templates: time 0.01661/0.7006, allocations: 9.543 MB / 0.5855 GB, free: 5.84 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.860454607987776] Failed to read output from testmodel.py, exit status != 0: 0.7095914940000512 0.725188942 0.07481049699999995 Calling exit ...