Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001965/0.001965, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002405/0.002405, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1384/0.1384, allocations: 23.89 MB / 336.3 MB, free: 11.16 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [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.002103/0.002103, allocations: 71.89 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 59.87 MB / 0.5191 GB, free: 9.809 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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_Get_DfG): time 0.03642/0.355, allocations: 23.93 MB / 0.5425 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009585/0.3646, allocations: 6.372 MB / 0.5487 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.3651, allocations: 11.88 kB / 0.5487 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.3658, allocations: 151.8 kB / 0.5489 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009531/0.3667, allocations: 259.8 kB / 0.5491 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.3699, allocations: 0.9864 MB / 0.5501 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009893/0.3709, allocations: 0.5029 MB / 0.5506 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.3713, allocations: 174.9 kB / 0.5508 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.3716, allocations: 251.3 kB / 0.551 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.3721, allocations: 265.2 kB / 0.5513 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.3722, allocations: 32 kB / 0.5513 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.3739, allocations: 0.5633 MB / 0.5518 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.374, allocations: 96.7 kB / 0.5519 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3743, allocations: 207.2 kB / 0.5521 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.3766, allocations: 1.085 MB / 0.5532 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3766, allocations: 0 / 0.5532 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3766, allocations: 0.9844 kB / 0.5532 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3766, allocations: 3.938 kB / 0.5532 GB, free: 5.84 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001378/0.378, allocations: 0.7241 MB / 0.5539 GB, free: 5.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.378, allocations: 12.03 kB / 0.5539 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.3786, allocations: 117.2 kB / 0.554 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.3792, allocations: 332.2 kB / 0.5543 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.3793, allocations: 21.03 kB / 0.5544 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.3793, allocations: 32.12 kB / 0.5544 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.3801, allocations: 440.1 kB / 0.5548 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3801, allocations: 4 kB / 0.5548 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.3801, allocations: 12 kB / 0.5548 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3801, allocations: 8 kB / 0.5548 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.3811, allocations: 0.5847 MB / 0.5554 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.3837, allocations: 1.727 MB / 0.5571 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.384, allocations: 136.2 kB / 0.5572 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3842, allocations: 80.73 kB / 0.5573 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.3863, allocations: 0.9492 MB / 0.5582 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3863, allocations: 31.17 kB / 0.5583 GB, free: 1.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3863, allocations: 0 / 0.5583 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004241/0.3867, allocations: 190.2 kB / 0.5584 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3868, allocations: 63.47 kB / 0.5585 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.3873, allocations: 432 kB / 0.5589 GB, free: 464 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3873, allocations: 33.7 kB / 0.5589 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.3876, allocations: 270.9 kB / 0.5592 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.3876, allocations: 39.59 kB / 0.5592 GB, free: 132 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3877, allocations: 71.95 kB / 0.5593 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3879, allocations: 351 kB / 0.5596 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.388, allocations: 70.77 kB / 0.5597 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3884, allocations: 285.8 kB / 0.56 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.3889, allocations: 384.8 kB / 0.5603 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3889, allocations: 4 kB / 0.5603 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006633/0.3896, allocations: 393.6 kB / 0.5607 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3896, allocations: 8.516 kB / 0.5607 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3896, allocations: 8 kB / 0.5607 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3896, allocations: 8 kB / 0.5607 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3899, allocations: 91.41 kB / 0.5608 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.3899, allocations: 22.12 kB / 0.5609 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3902, allocations: 44.91 kB / 0.5609 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.3902, allocations: 28.75 kB / 0.5609 GB, free: 14.27 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 (38): * Single equations (assignments): 38 * 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.0001767/0.3904, allocations: 161 kB / 0.5611 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3905, allocations: 43.72 kB / 0.5611 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.391, allocations: 240.7 kB / 0.5613 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.391, allocations: 4 kB / 0.5614 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.391, allocations: 3.938 kB / 0.5614 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.391, allocations: 0.75 kB / 0.5614 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.3917, allocations: 0.5075 MB / 0.5619 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3917, allocations: 0 / 0.5619 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.3917, allocations: 5.125 kB / 0.5619 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3917, allocations: 3.938 kB / 0.5619 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3917, allocations: 4.859 kB / 0.5619 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3917, allocations: 4 kB / 0.5619 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3917, allocations: 3.938 kB / 0.5619 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3919, allocations: 102.2 kB / 0.562 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.392, allocations: 46.66 kB / 0.562 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.392, allocations: 0 / 0.562 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3921, allocations: 4.75 kB / 0.562 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3921, allocations: 0.7969 kB / 0.562 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3921, allocations: 4.031 kB / 0.562 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.3926, allocations: 360.4 kB / 0.5624 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 3.938 kB / 0.5624 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00065/0.3933, allocations: 179.3 kB / 0.5625 GB, free: 12.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0005452/0.3938, allocations: 308.6 kB / 0.5628 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.3941, allocations: 158.4 kB / 0.563 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3941, allocations: 0 / 0.563 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.3942, allocations: 5.312 kB / 0.563 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.3947, allocations: 109 kB / 0.5631 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.3956, allocations: 0.5546 MB / 0.5636 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3961, allocations: 0.7826 MB / 0.5644 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.3964, allocations: 98.11 kB / 0.5645 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.3965, allocations: 48.03 kB / 0.5645 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3965, allocations: 0 / 0.5645 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.01287/0.4093, allocations: 6.661 MB / 0.571 GB, free: 4.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.883196165785193] Failed to read output from testmodel.py, exit status != 0: 0.4184952531941235 0.434018794 0.05413594 Calling exit ...