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.001656/0.001656, 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.001997/0.001997, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.1334/0.1334, allocations: 23.85 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.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.0021/0.0021, allocations: 75.88 kB / 472.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 59.86 MB / 0.5198 GB, free: 9.828 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.03642/0.3516, allocations: 24.25 MB / 0.5435 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3636, allocations: 9.257 MB / 0.5525 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.3641, allocations: 15.88 kB / 0.5525 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.3648, allocations: 223.8 kB / 0.5528 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3658, allocations: 366.6 kB / 0.5531 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.3698, allocations: 1.445 MB / 0.5545 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3708, allocations: 0.6634 MB / 0.5552 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.3711, allocations: 189.5 kB / 0.5553 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.3715, allocations: 333.7 kB / 0.5557 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.372, allocations: 349.8 kB / 0.556 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3721, allocations: 36 kB / 0.556 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.3744, allocations: 0.8388 MB / 0.5568 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3746, allocations: 120.3 kB / 0.557 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.3749, allocations: 255.7 kB / 0.5572 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.378, allocations: 1.535 MB / 0.5587 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.378, allocations: 0 / 0.5587 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.378, allocations: 0 / 0.5587 GB, free: 1.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.378, allocations: 0.5625 kB / 0.5587 GB, free: 1.445 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.001637/0.3796, allocations: 0.8863 MB / 0.5596 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3797, allocations: 8.031 kB / 0.5596 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.3805, allocations: 159.3 kB / 0.5597 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.3812, allocations: 394.1 kB / 0.5601 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.3812, allocations: 21.03 kB / 0.5601 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.3813, allocations: 36.69 kB / 0.5602 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009307/0.3822, allocations: 0.5345 MB / 0.5607 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3822, allocations: 0.6094 kB / 0.5607 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3823, allocations: 12 kB / 0.5607 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3823, allocations: 8 kB / 0.5607 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3836, allocations: 0.8066 MB / 0.5615 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.3863, allocations: 1.856 MB / 0.5633 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.3868, allocations: 201.4 kB / 0.5635 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.387, allocations: 126.5 kB / 0.5636 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002958/0.39, allocations: 1.331 MB / 0.5649 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.39, allocations: 39.55 kB / 0.565 GB, free: 11.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.39, allocations: 0 / 0.565 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006433/0.3906, allocations: 306 kB / 0.5652 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3907, allocations: 51.41 kB / 0.5653 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.3912, allocations: 478.8 kB / 0.5658 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3913, allocations: 29.7 kB / 0.5658 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3915, allocations: 299.9 kB / 0.5661 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.3916, allocations: 67.45 kB / 0.5661 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3917, allocations: 98.08 kB / 0.5662 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3919, allocations: 358.7 kB / 0.5666 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3921, allocations: 96.81 kB / 0.5667 GB, free: 9.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.3924, allocations: 361.1 kB / 0.567 GB, free: 9.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.3931, allocations: 0.4924 MB / 0.5675 GB, free: 8.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3931, allocations: 4 kB / 0.5675 GB, free: 8.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008411/0.3939, allocations: 493 kB / 0.568 GB, free: 8.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.394, allocations: 12 kB / 0.568 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.394, allocations: 8 kB / 0.568 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.394, allocations: 12 kB / 0.568 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.3944, allocations: 111.8 kB / 0.5681 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.3944, allocations: 16.53 kB / 0.5681 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.3947, allocations: 67.61 kB / 0.5682 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.3947, allocations: 31.94 kB / 0.5682 GB, free: 8.074 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.0002049/0.3949, allocations: 185.5 kB / 0.5684 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.395, allocations: 47.67 kB / 0.5684 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/0.3957, allocations: 395.9 kB / 0.5688 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3958, allocations: 4 kB / 0.5688 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3958, allocations: 0 / 0.5688 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3958, allocations: 0 / 0.5688 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.3967, allocations: 0.7006 MB / 0.5695 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3967, allocations: 3.938 kB / 0.5695 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.3968, allocations: 15.94 kB / 0.5695 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.3968, allocations: 192 / 0.5695 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3968, allocations: 8 kB / 0.5695 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.3968, allocations: 3.984 kB / 0.5695 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3968, allocations: 4 kB / 0.5695 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3971, allocations: 201 kB / 0.5697 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3972, allocations: 59.58 kB / 0.5698 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.3973, allocations: 12.08 kB / 0.5698 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3974, allocations: 4 kB / 0.5698 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.3974, allocations: 3.984 kB / 0.5698 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3974, allocations: 4 kB / 0.5698 GB, free: 6.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005061/0.3979, allocations: 410.8 kB / 0.5702 GB, free: 5.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 8 kB / 0.5702 GB, free: 5.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.3988, allocations: 251.1 kB / 0.5704 GB, free: 5.633 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.0008547/0.3996, allocations: 410 kB / 0.5708 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.4, allocations: 218 kB / 0.571 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4, allocations: 0 / 0.571 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.4001, allocations: 43.84 kB / 0.5711 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.4007, allocations: 120.2 kB / 0.5712 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.402, allocations: 0.7181 MB / 0.5719 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.4024, allocations: 0.8113 MB / 0.5727 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4026, allocations: 91.39 kB / 0.5728 GB, free: 3.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4026, allocations: 3.938 kB / 0.5728 GB, free: 3.156 MB / 414.1 MB Notification: Performance of Templates: time 0.01548/0.4181, allocations: 8.125 MB / 0.5807 GB, free: 11.05 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: 8.12908669700846] Failed to read output from testmodel.py, exit status != 0: 0.42829125095158815 0.44313287900000004 0.061989761000000004 Calling exit ...