Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001415/0.001415, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.00159/0.00159, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 9 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.1384/0.1384, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [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.002102/0.002102, allocations: 67.89 kB / 466.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3024, allocations: 59.81 MB / 0.5139 GB, free: 9.461 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2): time 0.03513/0.3375, allocations: 24 MB / 0.5374 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3495, allocations: 9.249 MB / 0.5464 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.35, allocations: 15.81 kB / 0.5464 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.3506, allocations: 224.2 kB / 0.5466 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009363/0.3516, allocations: 352.3 kB / 0.547 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.3553, allocations: 1.43 MB / 0.5484 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3564, allocations: 0.6678 MB / 0.549 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.3567, allocations: 204.4 kB / 0.5492 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.3571, allocations: 331 kB / 0.5495 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.3576, allocations: 345.4 kB / 0.5499 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.3577, allocations: 36 kB / 0.5499 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3602, allocations: 0.8387 MB / 0.5507 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3603, allocations: 124.6 kB / 0.5508 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.3606, allocations: 258.8 kB / 0.5511 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.3635, allocations: 1.531 MB / 0.5526 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3635, allocations: 0 / 0.5526 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3635, allocations: 0 / 0.5526 GB, free: 2.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3635, allocations: 0 / 0.5526 GB, free: 2.723 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001593/0.3651, allocations: 0.9628 MB / 0.5535 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3651, allocations: 8.031 kB / 0.5535 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.366, allocations: 162.3 kB / 0.5537 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.3667, allocations: 456 kB / 0.5541 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.3667, allocations: 29.03 kB / 0.5541 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.3668, allocations: 36.06 kB / 0.5542 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.3677, allocations: 0.5263 MB / 0.5547 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3678, allocations: 8 kB / 0.5547 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.3678, allocations: 8 kB / 0.5547 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3678, allocations: 8 kB / 0.5547 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.3692, allocations: 0.8062 MB / 0.5555 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.3721, allocations: 1.889 MB / 0.5574 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3726, allocations: 197.6 kB / 0.5575 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3728, allocations: 122.8 kB / 0.5577 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00375/0.3766, allocations: 2.718 MB / 0.5603 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3766, allocations: 35.25 kB / 0.5603 GB, free: 11.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.3766, allocations: 0 / 0.5603 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006868/0.3773, allocations: 296.8 kB / 0.5606 GB, free: 10.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3773, allocations: 56.11 kB / 0.5607 GB, free: 10.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.3779, allocations: 485.2 kB / 0.5611 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.378, allocations: 25.7 kB / 0.5612 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.3782, allocations: 301.5 kB / 0.5615 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.3783, allocations: 66.25 kB / 0.5615 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3784, allocations: 93.47 kB / 0.5616 GB, free: 9.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3786, allocations: 361.6 kB / 0.562 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3788, allocations: 86.7 kB / 0.562 GB, free: 9.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3792, allocations: 361 kB / 0.5624 GB, free: 9.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.3799, allocations: 0.5037 MB / 0.5629 GB, free: 8.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3799, allocations: 0 / 0.5629 GB, free: 8.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000856/0.3808, allocations: 489.2 kB / 0.5633 GB, free: 7.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3808, allocations: 8.703 kB / 0.5633 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3808, allocations: 12 kB / 0.5634 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3808, allocations: 12 kB / 0.5634 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3812, allocations: 108.3 kB / 0.5635 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.3812, allocations: 26.41 kB / 0.5635 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.3815, allocations: 55.56 kB / 0.5636 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.3815, allocations: 44.2 kB / 0.5636 GB, free: 7.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002133/0.3818, allocations: 181.7 kB / 0.5638 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.3819, allocations: 51.67 kB / 0.5638 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.3826, allocations: 399.9 kB / 0.5642 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3826, allocations: 0 / 0.5642 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3826, allocations: 4.062 kB / 0.5642 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3826, allocations: 7.938 kB / 0.5642 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.3836, allocations: 0.7171 MB / 0.5649 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3836, allocations: 4 kB / 0.5649 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.722e-05/0.3837, allocations: 11.94 kB / 0.5649 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3837, allocations: 4 kB / 0.5649 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3837, allocations: 4 kB / 0.5649 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3837, allocations: 7.984 kB / 0.5649 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3837, allocations: 0 / 0.5649 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.384, allocations: 205.1 kB / 0.5651 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.3841, allocations: 128.8 kB / 0.5653 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.3842, allocations: 11.89 kB / 0.5653 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3843, allocations: 4 kB / 0.5653 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3843, allocations: 8 kB / 0.5653 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3843, allocations: 7.984 kB / 0.5653 GB, free: 5.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005342/0.3849, allocations: 410.8 kB / 0.5657 GB, free: 5.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3849, allocations: 3.938 kB / 0.5657 GB, free: 5.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008087/0.3857, allocations: 251.2 kB / 0.5659 GB, free: 5.141 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0007414/0.3864, allocations: 410.9 kB / 0.5663 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.3869, allocations: 221.2 kB / 0.5665 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3869, allocations: 0 / 0.5665 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.387, allocations: 35.92 kB / 0.5666 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.3876, allocations: 126.5 kB / 0.5667 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3888, allocations: 0.6762 MB / 0.5673 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3892, allocations: 0.8152 MB / 0.5681 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3896, allocations: 132.1 kB / 0.5683 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3897, allocations: 59.41 kB / 0.5683 GB, free: 2.605 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3897, allocations: 0 / 0.5683 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Templates: time 0.01613/0.4059, allocations: 8.816 MB / 0.5769 GB, free: 9.824 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1124052330851555] Failed to read output from testmodel.py, exit status != 0: 0.4141650013625622 0.429659554 0.06297693700000001 Calling exit ...